CollisionData
Used mainly for 'OnCollision' callback.
Properties:
Name
Type
Description
Position
Vector3
World Coordinate of Collision
SimObject
SimObject
-
SimObjectCollider
SimObject
-
Velocity
Vector3
-
VelocityCollider
Vector3
-
Note: most of the time SimObject
points to the Object that is responsible for hitting the SimObjectCollider
, but sometimes this can be inverted. If you consider using this for something you should probably use some sort of velocity check or other logic behind it.
Last updated
Was this helpful?