Manage rotation speed for Set World Rotation

Hello, how can I go by making my character rotate slowly towards another actor? I have tried using Rinterp and timeline however I have had no success. At the moment my player is rotating correctly to face the actor (tree) but it is very snappy and not smooth.

Here is video example of what i mean with snapping (event occurs when in range and pressing ‘E’)


This is one way :face_in_clouds: the L button is your event, put the axis what u need in set actor rotation and change the value of tolerance in the equal node

2 Likes

Hello, thank you. Currently, it still isn’t entirely working however you managed to point me in the right direction and I can feel that I am close to the finish line.

thank you

my code is in the character u need to translate to the tree, but u get the idea

I figured that out thanks. I got it to work it was checking all rotation axe (idk if that’s the right spelling) but I just wanted the Y otherwise it would never be equal. I also have to make sure to ignore input before I start rotating otherwise it offsets the rotation end (since I have the actor rotate towards the walking direction).

Thank You Again

If I may ask, what is the point of using event tick?

the interpolation only work with the tick, a timeline or a timer, or at least I have never been able to make it work on events that are only triggered once

1 Like