How can increase a float in time?


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 rotation over time. Something like this should work for setting Actor rotation:

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

Hope that helps!

Thank you very much!