Method RegisterPhysicsWorldForSmoothRigidBodyMotion
RegisterPhysicsWorldForSmoothRigidBodyMotion(ref SystemState, Entity, PhysicsWorldIndex)
Registers the physics world for smooth rigid body motion described by physicsWorldIndex.
Declaration
public static void RegisterPhysicsWorldForSmoothRigidBodyMotion(ref SystemState state, Entity mostRecentTimeEntity, PhysicsWorldIndex physicsWorldIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| SystemState | state | SystemState reference from an ISystem |
| Entity | mostRecentTimeEntity | Entity for looking up MostRecentFixedTime and SmoothRigidBodiesGraphicalMotion.RigidBodySmoothingWorldIndex buffers. |
| PhysicsWorldIndex | physicsWorldIndex | Zero-based index of the physics world. |