From 3615d56fba5f4933045e96f17f87d8d909a7e576 Mon Sep 17 00:00:00 2001 From: max-001 Date: Mon, 16 Dec 2024 18:02:12 +0100 Subject: Set correct velocity (after bug fix) --- src/example/game.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/example/game.cpp b/src/example/game.cpp index fa5d3c5..d316729 100644 --- a/src/example/game.cpp +++ b/src/example/game.cpp @@ -346,10 +346,10 @@ public: }); bg_2.add_component(Rigidbody::Data{ - .linear_velocity = vec2(0.3, 0), + .linear_velocity = vec2(30, 0), }); bg_3.add_component(Rigidbody::Data{ - .linear_velocity = vec2(0.4, 0), + .linear_velocity = vec2(40, 0), }); } @@ -520,7 +520,7 @@ public: }); camera.add_component().set_script(); camera.add_component(Rigidbody::Data{ - .linear_velocity = vec2(2.5, 0), + .linear_velocity = vec2(100, 0), }); } -- cgit v1.2.3