Elasticity |
Allows overriding the elasticity for this collider.
Controls how bouncy this collider is. |
Friction |
Allows overriding the friction for this collider. This value
can exceed 1 to to give crazy grippy friction if you want it to,
but the normal value is between 0 and 1. |
IsConcave |
|
IsDynamic |
Return true if this collider is using dynamic physics.
Returns false if this is a keyframe body, or a static physics body. |
IsTrigger |
|
KeyframeBody |
|
LocalBounds |
Calculated local bounds of all physics shapes in this collider. |
OnObjectTriggerEnter |
Called when a gameobject enters this trigger |
OnObjectTriggerExit |
Called when a gameobject exits this trigger |
OnTriggerEnter |
Called when a collider enters this trigger |
OnTriggerExit |
Called when a collider exits this trigger |
Rigidbody |
If this collider is part of a Rigidbody then this will return the component
that it's attached to. If this is null it's usually a good indication that this
collider is either static, world geometry, or a keyframe. |
RollingResistance |
Allows overriding the rolling resistance for this collider.
Controls how easily rolling shapes (sphere, capsule) roll on surfaces. |
Static |
|
Surface |
|
SurfaceVelocity |
Set the local velocity of the surface so things can slide along it, like a conveyor belt |
Touching |
If we're a trigger, this will list all of the colliders that are touching us.
If we're not a trigger, this will list all of the triggers that we are touching. |