Smooth Rotation Between Rotators
I got a problem once again: My game is basically a 2D environment and when I click at one point I want my character to rotate towards that point over time. Different control option is for the character to always rotate towards the cursor. Because I'm also implementing the second option I have to do this in Tick(). Now, my question is: How can I make a smooth rotation towards that point over time? My current code looks like this:
All this code is in Tick();
When I had this problem in Unity I could solve it with Slerp or Lerp so I guess it should work here, too. What am I doing wrong?
asked Mar 08 '18 at 09:26 PM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here