diff options
author | max-001 <maxsmits21@kpnmail.nl> | 2024-12-09 14:14:03 +0100 |
---|---|---|
committer | max-001 <maxsmits21@kpnmail.nl> | 2024-12-09 14:14:03 +0100 |
commit | 857e408d6d3a8631b61ebd283b337819783f092c (patch) | |
tree | eb201efe09f033187c2ce9c51f68f0239e548a5d /src/example | |
parent | cdaf587006053874c2e286a7541e6a2b246ce2b3 (diff) |
Implemented oval path
Diffstat (limited to 'src/example')
-rw-r--r-- | src/example/AITest.cpp | 4 |
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}, |