Is there a way to not rotate the agent towards the movement direction when using “Follower Entity”?
I’m using v5.0.9 and my project is on 2022.3.25f1.
I’m using sprites in a 3D space, if that is relevant.
Here are my settings:
Edit1:
private void Awake()
{
this.agent = base.GetComponent<FollowerEntity>();
}
private void Start()
{
this.agent.updateRotation = false;
}
private void Update()
{
Debug.Log(this.agent.updateRotation);
}
When i print “updateRotation” inside the update it is still set to true.
Edit2:
I also hardcoded the value of “updateRotation” in “FollowerEntity.cs” to false.
Now when i print it, it says false, but the agent still rotates.