Rinterp to Not rotation smoothly

I have been using ue4 for a while now and recently I tried using the Rinterp function to give a smooth rotation to one of my object however during testing i found the rinterp to function just wasn’t working at all. Am I just being really stupid here or am i missing something?

You need to rInterp during Tick. Use Q to set a target value the rInterp will try to reach. Something along the lines of:

1 Like

Thank you!! I have been searching for a way to do this for a long time. I would still like confirmation that using tick for this is an OK practice, but for now it is perfect!

I hereby confirm using Tick is OK for this.

But seriously, if you must observe an update every frame on screen, you must have it on Tick. Or execute it as often as every frame.

The problem arises when such frequency is not necessary but script still executes ever frame.

Opt for an event based approach when it makes sense. It’s also easier to debug.