Difference between revisions of "DCS volume sphere"

From DCS World Wiki - Hoggitworld.com
(Created page with "{{Template:DCSenumertorTables |name= sphere |vNum= 1.2.0 |desc= The sphere volume is used to define a search area for the functions that us a search volume. '''Radius:'''...")
 
 
Line 12: Line 12:
  
  
|format= The following is the format of the box table.  
+
|format= The following is the format of the sphere table.  
 
   {
 
   {
 
   id = world.VolumeType.SPHERE,
 
   id = world.VolumeType.SPHERE,

Latest revision as of 23:28, 21 April 2023

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