DCS volume sphere

From DCS World Wiki - Hoggitworld.com
Revision as of 23:28, 21 April 2023 by Grimes (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Scripting Root

Enumerator: sphere Added with: 1.2.0
Description: The sphere volume is used to define a search area for the functions that us a search volume.

Radius: is in meters.

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