Hello, i’m trying to make the ai ignoring it’s destination point and instead moving towards foward direction.
I’m using rich ai and the destination setter.
This is the behaviour i’m looking for, but for 3d.
I noticed that the steering which i tryied to manipulate so that it wasn’t so fast to reach it’s destination is only a get, it there a way to set it’s value?
Any help would be very appreciated.
Thanks.
The ai recalculates it’s destination every 2 seconds, towards target direction to be 4 or more meters over the target.
Hi
Pathfinding is all about moving towards a specific point. If you want to move in a direction, that sounds more like a player controller script.
Hello,
Yes, i was trying that approach but i needed the ai to take into consideration obstacles and if he is not going over a cliff, i ended up taking your circling example, and i keep updating the destination every frame. It uses this same example for doing several behaviours like, inverting direction, turning towards enemy, turning away from enemy and a few more.
Thank you for replying!
1 Like