diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-12-06 12:31:38 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-12-06 12:31:38 +0100 |
commit | cc320c87372dfbcce5f1cee66397466d90a9ba0a (patch) | |
tree | 68236e75d2abd63d72f43d404104f1584e026b01 /src/example | |
parent | d0130b79680ffb873b56eafbb689aaaafa1ac2b3 (diff) |
removed minus one from calculation
Diffstat (limited to 'src/example')
-rw-r--r-- | src/example/game.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/example/game.cpp b/src/example/game.cpp index af99097..be756bd 100644 --- a/src/example/game.cpp +++ b/src/example/game.cpp @@ -201,7 +201,7 @@ public: "Name", "Tag", vec2{screen_size_width / 2, screen_size_height / 2}, 0, 1); game_object1.add_component<Rigidbody>(Rigidbody::Data{ .mass = 1, - .gravity_scale = 0.05, + .gravity_scale = 0, .body_type = Rigidbody::BodyType::DYNAMIC, .linear_velocity = {0, 0}, .constraints = {0, 0, 0}, |