Wiki

Case Status
Log In

Wiki

 
Home ยป Action Reference»Physics Actions»Get Collision Info
Index
Navigation
Community Wiki

Get Collision Info

Gets info on the last collision event. Typically used after a COLLISION ENTER, COLLISION STAY, or COLLISION EXIT system event or Collision Event action to get more info on the collision.

Game Object Hit
The game object that the owner of the FSM collided with.
Relative Velocity
The relative velocity of the 2 game objects that collided.
Relative Speed
The magnitude of the velocity. Useful for modulating impact effects (e.g., sound volume).
Contact Point
The point of contact in world coordinates.
Contact Normal
The normal of the contact point. You can use this, for example, to align a spawned particle effect to the collision.
Physics Material Name
The physics material used by Game Object Hit. Useful for triggering different effects. Audio, particles etc.
Tags:

Last modified on 3/24/2011 3:02 PM by User.

  • RSS Feed