Difference between revisions of "DCS volume segment"

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

Latest revision as of 23:20, 21 April 2023

Scripting Root

Enumerator: segment Added with: 1.2.0
Description: The segment volume is used to define a search area for the functions using a volume. It draws a line segment between two vec3 coordinates.
Uses: world.searchObjects and world.removeJunk
Format: The following is the
  {
  id = world.VolumeType.SEGMENT,
  params = {
    from = Vec3,
    to = Vec3
  }
 }
constants: N/A
notes: Volumes: segment, box, sphere, pyramid