Api Sandbox IScenePhysicsEvents
interface

IScenePhysicsEvents

public interface IScenePhysicsEvents

Allows events before and after the the physics step

Methods

virtual Void PrePhysicsStep()

Called before the physics step is run. This is called pretty much right after FixedUpdate.

virtual Void PostPhysicsStep()

Called after the physics step is run

virtual Void OnOutOfBounds(Rigidbody body)

Called when a rigidbody goes out of bounds.

virtual Void OnFellAsleep(Rigidbody body)

Called when a rigidbody goes to sleep.

Assembly: Sandbox.Engine Namespace: Sandbox Full Name: Sandbox.IScenePhysicsEvents