aboutsummaryrefslogtreecommitdiff
path: root/src/example/game.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-06 11:42:31 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-06 11:42:31 +0100
commitd0130b79680ffb873b56eafbb689aaaafa1ac2b3 (patch)
tree2471e25b6d31cc671ecca563e53ffc285b828386 /src/example/game.cpp
parent453aeafda1503aeafa54b8f6e293936c1a3db5ea (diff)
bug fox
Diffstat (limited to 'src/example/game.cpp')
-rw-r--r--src/example/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/example/game.cpp b/src/example/game.cpp
index be756bd..af99097 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,
+ .gravity_scale = 0.05,
.body_type = Rigidbody::BodyType::DYNAMIC,
.linear_velocity = {0, 0},
.constraints = {0, 0, 0},