Collision
This class contains static members used for collision constants.
Constants
- number None
- number Collide
- number Prop
- number Scene
- number Character
- number Trigger
- number Debris
- number Projectile
- number LineOfSight
Remarks
By default, Leadwerks constructs the following collisions response rules, which may be added to or changed by the programmer. The table below shows the default collision settings:
Property | Scene | Prop | Character | Debris | Trigger | Projectile | LineOfSight | Scene | None | Collide | Collide | Collide | None | Collide | Collide |
Prop | Collide | Collide | Collide | Collide | None | Collide | None |
Character | Collide | Collide | Collide | None | Trigger | None | None |
Debris | Collide | Collide | None | None | None | None | None |
Projectile | Collide | Collide | None | None | None | None | None |
LineOfSight | Collide | None | None | None | None | None | None |