API ReferenceSandbox
public abstract interface Sandbox.IScenePhysicsEvents
Allows events before and after the the physics step
Related Guides
Broader workflow and conceptual references connected to this API.
Methods
Showing 4 methods
public virtual void OnFellAsleep(Sandbox.Rigidbody body)
Called when a rigidbody goes to sleep.
public virtual void OnOutOfBounds(Sandbox.Rigidbody body)
Called when a rigidbody goes out of bounds.
Implementations
public virtual void PostPhysicsStep()
Called after the physics step is run
public virtual void PrePhysicsStep()
Called before the physics step is run. This is called pretty much right after FixedUpdate.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.IScenePhysicsEvents |