aboutsummaryrefslogtreecommitdiff
path: root/src/test/PhysicsTest.cpp
diff options
context:
space:
mode:
authorJAROWMR <jarorutjes07@gmail.com>2024-12-07 15:43:00 +0100
committerJAROWMR <jarorutjes07@gmail.com>2024-12-07 15:43:00 +0100
commitfe8f985d2c7ea672a5f886d7d0df064f26bd2cb4 (patch)
treec09952570ac3732dfd821ae00fe379330e513e7c /src/test/PhysicsTest.cpp
parent478f5f6232c46e1a60c023bf5dcbe2a934f42d84 (diff)
improved physics for AI
Diffstat (limited to 'src/test/PhysicsTest.cpp')
-rw-r--r--src/test/PhysicsTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/PhysicsTest.cpp b/src/test/PhysicsTest.cpp
index 43d2931..4af34f5 100644
--- a/src/test/PhysicsTest.cpp
+++ b/src/test/PhysicsTest.cpp
@@ -27,7 +27,7 @@ public:
.mass = 1,
.gravity_scale = 1,
.body_type = Rigidbody::BodyType::DYNAMIC,
- .max_linear_velocity = vec2{10, 10},
+ .max_linear_velocity = 10,
.max_angular_velocity = 10,
.constraints = {0, 0},
});