How to do a smooth 90 degree turn
Hi how do you do a 90 degree smooth rotation turn, by a press of a button?
asked Mar 06 '16 at 03:01 AM in Blueprint Scripting
Either use timeline to animate rotation
Or use tick and Lerp function
If you add Lerp result to rotation, each frame it will advance less and less depending on how you set Alpha. But timeline should be easiest and best preformance
answered Mar 06 '16 at 03:35 AM
Hi, this is how your setup should look, if you want to use Timeline. The timeline uses a float that goes from 0 to 1, which makes the lerp smoothly change the position through interpolation. All of hat gets added to the actor rotation at the end.
answered Mar 06 '16 at 10:53 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here