aboutsummaryrefslogtreecommitdiff
path: root/src/example/AITest.cpp
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-12-09 14:14:03 +0100
committermax-001 <maxsmits21@kpnmail.nl>2024-12-09 14:14:03 +0100
commit857e408d6d3a8631b61ebd283b337819783f092c (patch)
treeeb201efe09f033187c2ce9c51f68f0239e548a5d /src/example/AITest.cpp
parentcdaf587006053874c2e286a7541e6a2b246ce2b3 (diff)
Implemented oval path
Diffstat (limited to 'src/example/AITest.cpp')
-rw-r--r--src/example/AITest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/example/AITest.cpp b/src/example/AITest.cpp
index 28537ed..f4efc9f 100644
--- a/src/example/AITest.cpp
+++ b/src/example/AITest.cpp
@@ -59,8 +59,8 @@ public:
// ai.arrive_on();
// ai.flee_on();
ai.path_follow_on();
- ai.make_circle_path(1000, {0, -1000}, 1.5707, true);
- ai.make_circle_path(1000, {0, 1000}, 4.7124, false);
+ ai.make_oval_path(500, 1000, {0, -1000}, 1.5708, true);
+ ai.make_oval_path(1000, 500, {0, 500}, 4.7124, false);
game_object1.add_component<Rigidbody>(Rigidbody::Data{
.mass = 0.1f,
.max_linear_velocity = {40, 40},