API ReferenceSandbox
IScenePhysicsEventsclass
Allows events before and after the the physics step
object→IScenePhysicsEvents
Methods4
Showing 4 methods
public virtual void OnFellAsleep(Sandbox.Rigidbody body)
Called when a rigidbody goes to sleep.
| Parameter | Type | Description |
|---|---|---|
| body | Rigidbody | — |
Returns:
void—public virtual void OnOutOfBounds(Sandbox.Rigidbody body)
Called when a rigidbody goes out of bounds.
| Parameter | Type | Description |
|---|---|---|
| body | Rigidbody | — |
Returns:
void—public virtual void PostPhysicsStep()
Called after the physics step is run
Returns:
void—public virtual void PrePhysicsStep()
Called before the physics step is run. This is called pretty much right after FixedUpdate.
Returns:
void—No results match this filter.