I am trying to lerp the local z axis position of a character to the local z axis position of a trigger being entered. I am using Mathf.Lerp but it is triggering an error:
Haven’t tested it, but i’m pretty much creating new Vector3 and assigning it to the local position (So X and Y) can get from other object. Then i Lerp the Z. Lastly i apply the new vector to the other’s local position