- Home /
Question by
andycodes · Apr 17, 2017 at 06:37 PM ·
rotationangleworldspacepoints
Derive world space rotation given 2 points in space?
If i have an object and a world space coordinate that represents the hitpoint of a cameraToWorldSpace ray draw to the mouse position, is it possible to get the world space rotation angle that a ray would need to have to travel from the location of the object to the location of the hit point?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612120035im_/https://answers.unity.com/themes/thub/images/avi.jpg)