summaryrefslogtreecommitdiffhomepage
path: root/examples/web/physics/physics_restitution.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/web/physics/physics_restitution.c')
-rw-r--r--examples/web/physics/physics_restitution.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/web/physics/physics_restitution.c b/examples/web/physics/physics_restitution.c
index 15f8b25..ccd1610 100644
--- a/examples/web/physics/physics_restitution.c
+++ b/examples/web/physics/physics_restitution.c
@@ -101,6 +101,8 @@ void UpdateDrawFrame(void)
{
// Update
//----------------------------------------------------------------------------------
+ PhysicsStep();
+
if (IsKeyPressed('R')) // Reset physics input
{
// Reset circles physics bodies position and velocity