diff options
author | max-001 <maxsmits21@kpnmail.nl> | 2024-12-16 18:02:12 +0100 |
---|---|---|
committer | max-001 <maxsmits21@kpnmail.nl> | 2024-12-16 18:02:12 +0100 |
commit | 3615d56fba5f4933045e96f17f87d8d909a7e576 (patch) | |
tree | 126b22609b1b09d98d35f8a4598fc47edcb466a8 | |
parent | a33c85c142baf7e7d00ca6d375fbb034080f5744 (diff) |
Set correct velocity (after bug fix)
-rw-r--r-- | src/example/game.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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>(Rigidbody::Data{ - .linear_velocity = vec2(0.3, 0), + .linear_velocity = vec2(30, 0), }); bg_3.add_component<Rigidbody>(Rigidbody::Data{ - .linear_velocity = vec2(0.4, 0), + .linear_velocity = vec2(40, 0), }); } @@ -520,7 +520,7 @@ public: }); camera.add_component<BehaviorScript>().set_script<MoveCameraScript>(); camera.add_component<Rigidbody>(Rigidbody::Data{ - .linear_velocity = vec2(2.5, 0), + .linear_velocity = vec2(100, 0), }); } |