aboutsummaryrefslogtreecommitdiff
path: root/src/example
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-11-22 22:01:18 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-11-22 22:01:18 +0100
commitb6d255762de0bfd5dd096f7eae295a6b1b357bbb (patch)
tree40a6d2327433f4408779e031f02a0efdc8b48073 /src/example
parent838613df6103ce2faaae2145ab942b75a8501779 (diff)
added gravity to object
Diffstat (limited to 'src/example')
-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 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},