Next: Position Constraint, Previous: Object Seeker, Up: Motion [Contents][Index]
This component allows the physics simulation of a given object to be toggled based on messages. ’EnablePhysics’ and ’DisablePhysics’ take no parameters. ’SwapPhysics’ takes no parameter and will reverse the physics state of the object. It also optionally changes the ’convex’ state of a collider based on physics state (recommended for advanced users only)
To use, add to a physics object and when appropriate, send messages to this component using any message sender (such as ActiveCollider).
float
delayIs there a delay when toggling?
Default value: 0.0f
bool
nullifyMotionShould we force any movement to stop?
Default value: false
bool
controlColliderStateShould this object control the ’Convex’ state of the collider also? This will force non-convex colliders to become convex if they need to move. But be careful, this can cause physics glitches in some circumstances!
Default value: false
Disables physics calculations on this object (it will still collide with objects if it has a collider)
Disables physics calculations on this object
Toggles the physics state of this object.
float
delayIs there a delay when toggling?
Default value: 0.0f
bool
nullifyMotionShould we force any movement to stop?
Default value: false
bool
controlColliderStateShould this object control the ’Convex’ state of the collider also? This will force non-convex colliders to become convex if they need to move. But be careful, this can cause physics glitches in some circumstances!
Default value: false
Disables physics calculations on this object (it will still collide with objects if it has a collider)
Disables physics calculations on this object
Toggles the physics state of this object.
Next: Position Constraint, Previous: Object Seeker, Up: Motion [Contents][Index]