specs-physics

[Fork] Integration of Amethyst, SPECS and Nphysics together.
git clone https://git.jojolepro.com/specs-physics.git
Log | Files | Refs | README | LICENSE

commit 9a7e07609d55516a8e7a6e3779ba6c0dfa793d5b
parent 1298a1b4555bc0333179674b7b9d318a4ec810ce
Author: Sophie Tauchert <999eagle@999eagle.moe>
Date:   Tue,  1 Jan 2019 14:37:00 +0100

Set default physics timestep to 1/60 s

Diffstat:
Msrc/systems/physics_stepper.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/systems/physics_stepper.rs b/src/systems/physics_stepper.rs @@ -12,7 +12,7 @@ pub struct PhysicsStepperSystem { impl Default for PhysicsStepperSystem { fn default() -> Self { PhysicsStepperSystem { - intended_timestep: 1.0 / 120.0, + intended_timestep: 1.0 / 60.0, max_timesteps: 10, time_accumulator: 0., }