From 2a37965c797e1ef03ec10ea8bf503d7605465f11 Mon Sep 17 00:00:00 2001 From: JAROWMR Date: Fri, 22 Nov 2024 21:17:30 +0100 Subject: refactored collision system --- src/example/game.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/example/game.cpp') diff --git a/src/example/game.cpp b/src/example/game.cpp index 991d2ec..afa8c10 100644 --- a/src/example/game.cpp +++ b/src/example/game.cpp @@ -65,9 +65,9 @@ public: .mass = 1, .gravity_scale = 0.01, .body_type = Rigidbody::BodyType::DYNAMIC, - .linear_velocity = {1,0}, + .linear_velocity = {1,1}, .constraints = {0, 0, 0}, - .use_gravity = true, + .use_gravity = false, .bounce = true, .elastisity = 1, .offset = {0,0}, -- cgit v1.2.3