CollisionHandler
Last updated
Last updated
Side
Enum of the Top/Bottom/Left/Right/Front/Rear value
CollisionsCount
The amount of contact points
Point
The position in world space
Normal
The normal of the collision
RelativeVelocity
Relative velocity
CollisionMagnitude
The length (speed) on the relative velocity
DotToMyVelocity
Dot product between your rigidbody's normalized velocity and collision normal. Can be used to identify the "strength" of the collision.
DistanceToPreviousCollisionPoint
Distance to the previous contact point from this collision. OnCollisionImpact sends event for every contact point from a collision.
WeightRatio
Ratio between the other and your rigidbody mass.
CollisionSide
Enum of the Top/Bottom/Left/Right/Front/Rear value
Position
The position in world space
RelativeMagnitude
The length (speed) on the relative velocity