▲ | oasisaimlessly 4 days ago | |
FYI, you can solve your problem in closed form by converting your Euler angles into the 'rotation vector'[1] or 'axis-angle'[2] representations and then normalizing the resulting vector. [1]: https://en.wikipedia.org/wiki/Axis%E2%80%93angle_representat... [2]: https://en.wikipedia.org/wiki/Axis%E2%80%93angle_representat... | ||
▲ | Etherlord87 4 days ago | parent [-] | |
Cool! Thanks for that; it makes perfect sense: if you convert the rotation to axis-angle, and then take that axis, obviously a vector rotated around the axis defined by itself won't change. I just tested it:
Can be done without using an object:
|