aboutsummaryrefslogtreecommitdiff
path: root/src/example/game.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-19 10:47:36 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-19 10:47:36 +0100
commitd355d374f9e3182750b2cfce1036d0cc011d60dd (patch)
tree8c118cfb0be5294a0cee6671d5c2766f1fac5d44 /src/example/game.cpp
parent714edd69d53a6243e9a2b81f62d309c96b71dd8d (diff)
fixed bug
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 f931878..ce2f351 100644
--- a/src/example/game.cpp
+++ b/src/example/game.cpp
@@ -224,7 +224,7 @@ public:
game_object1.add_component<Rigidbody>(Rigidbody::Data{
.mass = 1,
.gravity_scale = 0,
- .body_type = Rigidbody::BodyType::DYNAMIC,
+ .body_type = Rigidbody::BodyType::KINEMATIC,
.linear_velocity = {0, 0},
.constraints = {0, 0, 0},
.elastisity_coefficient = 1,