From b6d255762de0bfd5dd096f7eae295a6b1b357bbb Mon Sep 17 00:00:00 2001 From: JAROWMR Date: Fri, 22 Nov 2024 22:01:18 +0100 Subject: added gravity to object --- src/example/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/example/game.cpp b/src/example/game.cpp index afa8c10..e851526 100644 --- a/src/example/game.cpp +++ b/src/example/game.cpp @@ -67,7 +67,7 @@ public: .body_type = Rigidbody::BodyType::DYNAMIC, .linear_velocity = {1,1}, .constraints = {0, 0, 0}, - .use_gravity = false, + .use_gravity = true, .bounce = true, .elastisity = 1, .offset = {0,0}, -- cgit v1.2.3