DCS volume box

From DCS World Wiki - Hoggitworld.com
Revision as of 09:52, 4 July 2023 by Grimes (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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: vec3 coordinate located at the western-southern-lower vertex of the box

max: vec3 coordinate located at the 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