summaryrefslogtreecommitdiffhomepage
path: root/examples/web/physics/physics_movement.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/web/physics/physics_movement.c')
-rw-r--r--examples/web/physics/physics_movement.c2
1 files changed, 2 insertions, 0 deletions
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