manipulate 3D object’s Transform and Rotation in 3D Coordinates.
- make child object(C31) rotated arount parent object(P31)
- make object object’s rotation degree(P41) equal to double degree of another object(P42) of same level
With Unity XR API, Virtual Camera Object’s rotation and transform values are determined by Information of In Real VR HMD Device. Developer Can’t manipulate Virtual Camera’s Rotation value. But a Lab requires function that experimenter can manipulate it, So I try to control parent object instead Virtual Camera to offset camera’s rotation and It is now possible to control the degree of Camera object rotation as the HMD rotates.
Rig(White Cube) Camera(Red Cube) Camera is rotated by Script Camera *= Quaternion.Euler(0,1,0);