DCS volume segment

From DCS World Wiki - Hoggitworld.com
Revision as of 23:20, 21 April 2023 by Grimes (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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