From d355d374f9e3182750b2cfce1036d0cc011d60dd Mon Sep 17 00:00:00 2001 From: JAROWMR Date: Thu, 19 Dec 2024 10:47:36 +0100 Subject: fixed bug --- src/example/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/example') 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::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, -- cgit v1.2.3