From c4e5184fb9788128d66f8f8a36885cd36dbf74f4 Mon Sep 17 00:00:00 2001 From: Ray Date: Thu, 30 Jan 2020 17:58:40 +0100 Subject: Review physics examples to work on single-thread --- examples/web/physics/physics_movement.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples/web/physics/physics_movement.c') diff --git a/examples/web/physics/physics_movement.c b/examples/web/physics/physics_movement.c index d7a2f7d..6c90f24 100644 --- a/examples/web/physics/physics_movement.c +++ b/examples/web/physics/physics_movement.c @@ -107,6 +107,8 @@ void UpdateDrawFrame(void) { // Update //---------------------------------------------------------------------------------- + PhysicsStep(); + if (IsKeyPressed('R')) // Reset physics input { // Reset movement physics body position, velocity and rotation -- cgit v1.2.3