unity3d – Rotating second object to match rotation of first object relative to camera in Unity
I am attempting to make an object that is attached to the UI achieve the same appearance/rotation relative to the camera as an object that is being looked at in world space. For example in the image, how would I get the cube in the black UI which is fixed to the camera to look the same as the cube in world space no matter what angle I viewed the world space cube from/How would I get the UI cube to change its rotation to match the world space cube based on what angle I was viewing the world space cube from in real time?
I’m not wanting another camera view as a solution as I would like to change the object in the UI to other objects.
Read more here: Source link