#Post the code here, you can make a

1 messages · Page 1 of 1 (latest)

alpine lake
rain plinth
#

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

alpine lake
#

so MoveTowards is my best bet in your opinion ?

rain plinth
#

It's worth a try

alpine lake
#

ok thx ill try it and tell you what happens

pallid ibex
#

Physics must happen in FixedUpdate

#

Also does your player character have a Rigidbody?

alpine lake
pallid ibex
# alpine lake yes

So you have an issue there where you're directly modifying the player's transform in your rotation code which will break interpolation