s&box docs

public abstract interface Sandbox.IScenePhysicsEvents

Allows events before and after the the physics step

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.

Metadata

FieldValue
NamespaceSandbox
Typeclass
AssemblySandbox.Engine
Doc IDT:Sandbox.IScenePhysicsEvents

On this page