How can increase a float in time?

Greetings!

Im trying to rotate my character “90”, “-90” yaw with left or right swipe it works fine but it happens instantly. How can i make increase float to 0 90 in time to look smooth rotate?

Hey Grigon,

You can use an RInterp node change the rotation over time. Something like this should work for setting the Actor rotation:

You’ll need to find the Actor’s rotation, do a little math to figure out how you want it to rotate, and pass the values to the RInterp node. Then you can play with the Delta Time and Inter Speed values until you get the rotation speed where you want it.

Hope that helps!

Ben Halliday

Thank you very much!