Colshape: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 7: Line 7:
* Rectangle
* Rectangle
* Tube
* Tube
Colshapes are invisible to players, to make them visible you can use a [[marker]] as an indicator.


==Collision shape functions==
==Collision shape functions==
{{Collision shape functions}}
{{Collision shape functions}}

Revision as of 17:38, 18 June 2007

Colshapes are invisible areas that can be used to trigger certain actions when a player or element enters them. For example, you could place a colshape around a base so that as soon as an enemy enters the colshape, an alarm is triggered.

Colshapes are available in the following shapes:

  • Circle
  • Cuboid
  • Sphere
  • Rectangle
  • Tube

Colshapes are invisible to players, to make them visible you can use a marker as an indicator.

Collision shape functions