Question by
Marshal_Alessi · May 22, 2017 at 07:05 AM ·
c#navmeshagentnavigationparallel
Forcing NavMeshAgent to follow Parallel to the player
Hello,
I'm working on a game that requires an enemy AI to follow parallel to the player. I've got the code to make them follow:
agent.SetDestination(PlayerShip.transform.position);
Which is incredibly simple. But I'm at a loss as to how I'm supposed to make them follow parallel as opposed to heading straight toward the target. The most information I've found is to use
agent.updateRotation = false;
To manually program where the agent should rotate, but I don't see where to go from here.
Comment
Your answer
Follow this Question
Related Questions
How to stop NavMeshAgent from using an area? 1 Answer
NavMesh Agent won't move 1 Answer
NavMeshAgent and narrow paths 0 Answers
Use NavMesh to traverse a random path 0 Answers
Object reference not set to an instance of an Object? 0 Answers