Difference between revisions of "DCS volume box"

From DCS World Wiki - Hoggitworld.com
(Created page with "{{Template:DCSenumertorTables |name= box |vNum= 1.2.0 |desc= The box volume is used to define a search area for the functions using a volume. It creates a box between the o...")
(No difference)

Revision as of 23:24, 21 April 2023

Scripting Root

Enumerator: box Added with: 1.2.0
Description: The box volume is used to define a search area for the functions using a volume. It creates a box between the outer bounds of the min and max value. Needs to be oriented with the following rules:

min: western-southern-lower vertex of the box

max: eastern-northern-upper vertex of the box

Uses: world.searchObjects and world.removeJunk
Format: The following is the format of the box table.
  {
  id = world.VolumeType.BOX,
  params = {
    min = Vec3,
    max = Vec3
  }
 }
constants: N/A
notes: Volumes: segment, box, sphere, pyramid