VR Sickness by Bure5kzam - 1

VR & AR

Unity project with VRware

Unknown VersionUnknown LicenseUpdated 31 days agoCreated on December 15th, 2020
Go to source

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

The camera seems to doesn't rotate. Because rotation of camera's parent object(Rig) offset rotation of camera

Rotation rate : 1

The Camera is rotated nomally.

Rotation rate : 0.5

Half of Rotation of Camera is offseted by rotation of parent object. It looks like to spin slowly.

Rotation rate : 2

It is rotated more fast
Show all projects by Bure5kzam