As the title states, I’m currently working on a movement system on a Third-Person Character. I have a camera that moves around, but I want to create a system that turn the character in place once the camera looks too far right/left (about 60 degrees either way).
I made the code to determine the angle of difference between the Camera/Controller and the Character, but I can’t crack how to create a smooth turn-in-place.
So you can remove the interpolate- Just use set rotation.
Because interps on such a fast repeating timer- you’re changing the speed of rotation every tick but also the values are changing every tick, so you’re doing a distance x time x time. Take one of the time variables out (the interp) and the time and rotation speed won’t be fighting 60 times a second. Also with that you’d never actually stop rotating because of how the math works