Collision
This class contains static members used for collision constants.
Members
- static const int None
- static const int Collide
- static const int Prop
- static const int Scene
- static const int Character
- static const int Trigger
- static const int Debris
- static const int Projectile
- static const int 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 |