Vector3 to rotation angles

Also in some cases you can use lookAt to simplify the process. For example in the quick example below when you click on the sphere a disc is placed at the picked point, using lookAt to make the disc face the center of the sphere.

3 Likes