A* Pathfinding Project

AIPath orientation


#1

Hello. I am in need of reverse moving my AIPath agent. But I only can select from ZAxisForward and YAxisForward. Where do I start if I need my agents to be capable of moving with ZAxisBackward orientation and switching to normal on the go?

Thank you in advance, love your project really much.


#2

Hi

This is not possible with the default movement script. You can however set ai.updateRotation = false and control the rotation of the agent completely manually.

See https://arongranberg.com/astar/docs/aibase.html#updateRotation