Gentlemen,
I’ve been spending months trying to properly and accurately rotate a character, which is absolutely necessary for me (I’ve had people object already here).
I’ve been trying to rotate my character along the world axes and over time, but couldn’t use slerp because it would lock the player or keep trying to align the rotations indefinitely.
Using regular rotate with time.deltaTime causes an inaccuracy that I need to avoid.
It has to happen over time, as it’s disorienting enough as it is, and snapping would just be fatal.
I’ve currently been trying to use eulerangles to store and use data to snap when within certain thresholds, but, well, it’s honestly confusing the hell out of me. I was using rotate along the world axis so I wouldn’t have to keep track of the rotation data in the first place.
Does anyone know of an accurate way to rotate an object over time along only a single axis at a time?
I only need the characters feet to face north, south, west, east, up, or down (±(x,y,z)). I don’t need any more than that.
Any help or link to better information on rotation (haven’t been lucky so far) would be greatly appreciated. You have my thanks in advance.