JamieHyland1 / 4thYearDemo

A small proof of concept demo for my fourth year project.
1 stars 0 forks source link

Agent doesn't always move in a forward direction #2

Open JamieHyland1 opened 4 years ago

JamieHyland1 commented 4 years ago

When the agent rotates to a new direction, it sometimes moves at an awkward angle, not in the direction that its currently facing. This seems to be an issue with using transform.position = Vector3.MoveTowards(transform.position,moveTo,step);