#Post the code here, you can make a
1 messages · Page 1 of 1 (latest)
That's the "wrong lerp" (https://unity.huh.how/lerp/wrong-lerp) that probably causes it. When the distance between the cube and the object hold position changes the lerp behaves erratically. Try using MoveTowards instead
so MoveTowards is my best bet in your opinion ?
It's worth a try
ok thx ill try it and tell you what happens
Rigidbody.MovePosition doesn't belong in update
Physics must happen in FixedUpdate
Also does your player character have a Rigidbody?
yes
oh so i put everything related to physics in fixed update ?
So you have an issue there where you're directly modifying the player's transform in your rotation code which will break interpolation