Files
fs2open.github.com/code/math
Goober5000 b89cbbd530 fix and upgrade ai-fly-to-ship
The ai-fly-to-ship goal was added early in FSO's development but never worked right.  Until recently it could crash; and even aside from the crash the AI would try to reach the target's exact position, causing repeated collisions.  This folds ai-fly-to-ship into ai-stay-near-ship, since the behaviors are conceptually the same except for fly-to being satisfied as soon as the target is in range.

This also adds a new "escort" mode usable by both behaviors.  The default Volition behavior is to swoop toward the target in a long, graceful arc; the new mode generates a goal point and flies directly to that point.  These can be toggled via an optional sexp parameter.

There is also some minor cleanup and a new vec3d operator for convenience.

Needed for Scroll; depends on #5667.
2023-10-16 03:24:52 -04:00
..
2023-05-20 18:21:37 -04:00
2023-04-19 08:13:06 -04:00
2021-06-20 12:56:20 +02:00
2022-11-08 22:52:38 -05:00
2020-09-25 21:28:25 -04:00
2020-09-25 21:28:25 -04:00
2023-06-07 19:59:07 -04:00
2023-10-16 03:24:52 -04:00