void Update() { if (State == eState.Paused) { return; } if (Simulation == null) { return; } float deltaTime = Time.deltaTime; OutputParams = Simulation.Update(UpdateParams, deltaTime); }
REVPhysicsSimulator() { State = eState.Paused; OutputParams = new PhysicsOutputParameters(); UpdateParams = new PhysicsUpdateParams(); }