Element/Collision shape

From Multi Theft Auto: Wiki
Revision as of 05:36, 9 December 2006 by Erorr404 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The collision shape class represents invisible shapes that exist in the GTA world. Collision shapes are typically used to detect elements that move through them.

The element type of this class is "colshape".

XML syntax

<colshape posX="" posY="" posZ="" .../>

Required Attributes

  • posX: A float representing the X position of the vehicle.
  • posY: A float representing the Y position of the vehicle.
  • posZ: A float representing the Z position of the vehicle.
  • ...: ...

Optional Attributes

  • ...: ...

Related scripting functions