Get LookAt Rotation For a Single Axis

Sorry, I meant MY reply was confusing, not yours (and that I edited it out to remove that confusion.)

Thank you, Clockwork. that did not solve the problem, but it made something unrelated click inside my head.

I just realized, this function is designed to make a specific part of the system as player friendly as possible (not that you can tell by my demonstration, but I promise lol.) It’s not actually needed to make anything WORK, but to make it more predictable as players learn the system.

And moments ago I realized… I already built a function that is more intuitive than what I needed this for, and if I just cut this function altogether, the entire thing is actually a lot simpler without losing any functionality.

So I wasted a whole day today, but it ultimately means the end result will be that much better for the decision to cut this.

I upvoted your reply as in some way, it made that realization click and I wanted to thank you for your time and effort. But this post technically doesn’t have an answer yet, and it’s a very niche math problem anyways.