diff --git a/src/physics.rs b/src/physics.rs index eab5889..956136f 100644 --- a/src/physics.rs +++ b/src/physics.rs @@ -877,8 +877,7 @@ impl Body{ T1:integer::Fix, { // a*dt + v - self.acceleration.map(|elem|dt*elem) - .map(|elem|elem.divide().fix())+self.velocity + self.acceleration.map(|elem|(dt*elem).divide().fix())+self.velocity } pub fn advance_time_ratio_dt(&mut self,dt:model_physics::GigaTime){ self.position=self.extrapolated_position_ratio_dt(dt);