TRS
manipulate 3D object’s Transform and Rotation in 3D Coordinates.
VRSickness/TRS/Assets/
C31.cs
- make child object(C31) rotated arount parent object(P31)
P41.cs
- make object object’s rotation degree(P41) equal to double degree of another object(P42) of same level
RigRotation.cs
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);
Rotation rate : 0

Rotation rate : 1

Rotation rate : 0.5

Rotation rate : 2
