- Very useful!
- Just specify the direction to face and the direction up and it will calculate the appropriate rotation.
- Unity - Scripting API: Quaternion.LookRotation
This page is auto-translated from /nishio/Quaternion.LookRotation using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I’m very happy to spread my thought to non-Japanese readers.