diff options
author | JAROWMR <jarorutjes07@gmail.com> | 2024-11-22 21:17:30 +0100 |
---|---|---|
committer | JAROWMR <jarorutjes07@gmail.com> | 2024-11-22 21:17:30 +0100 |
commit | 2a37965c797e1ef03ec10ea8bf503d7605465f11 (patch) | |
tree | 3aa09c85b5d0dc44035f1c77b4ab0b9597ef4ea4 /src/example | |
parent | c84e9d93589c59a4e388b0b779f75ac138feb788 (diff) |
refactored collision system
Diffstat (limited to 'src/example')
-rw-r--r-- | src/example/game.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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}, |