csharp
public static class PhysicsSystemsRegisters the physics passes with a loop or a runner, in the right order.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
One call rather than five, because the order between them is not a preference — it is the difference between a simulation that is driven by this frame's input and one that is driven by last frame's.
Methods (2)
public static SystemRunner AddPhysics(this SystemRunner runner, PhysicsScene scene)Adds the four fixed-step passes to a runner.
public static EngineLoop AddPhysics(this EngineLoop loop, PhysicsScene scene)Adds the four fixed-step passes and the render-time interpolation to a loop.
Used by (2)
- ArenaThirdPersonShooter
- PhysicsSceneTestsVixen.Physics.Tests