Bot moves sideways

DageLV

New member
I tried joining discord, but discord bot is broken real bad, contacted justin and sarah, no response, noone else in the server seems to reply so posting here.
Currently the bot moves sideways, yet i need it to move only forwards or backwards and turn, it can not move left or right, how to fix it?
Best case scenario would be to get the AI to output -1 to 1 for movement and -1 to 1 for turning.
 

Justin

Administrator
Staff member
I haven't logged onto discord today but will do so tonight and check my messages.

The Movement Pack uses Unity's NavMeshAgent to do the movement. If you don't want the NavMeshAgent to control the movement you can set updatePosition/updateRotation to false and then manage the movement yourself:


After you update the position make sure you set the nextPosition:

 
Top