Open JamieHyland1 opened 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);
transform.position = Vector3.MoveTowards(transform.position,moveTo,step);
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);