ExtendRealityLtd / VRTK

An example of how to use the Tilia packages to create great content with VRTK v4.
https://www.vrtk.io/
MIT License
3.69k stars 993 forks source link

Disabling PlayArea rotation and using Destination Rotation causes permanent rotation issues #2087

Closed jorgeolothar closed 3 years ago

jorgeolothar commented 4 years ago

Environment

Steps to reproduce

Open farm scene. Bring up the options menu and disable PlayArea Rotation. Teleport to the Destination Point with the arrows in the garage.

Expected behavior

  1. You should be teleported facing the arrows
  2. Destination rotation arrows on the teleport beam should remain hidden
  3. Teleporting away should not cause further rotations, only forward teleportation
  4. Re-enabling PlayArea rotation should not cause issues

Current behavior

  1. You are teleported facing 90 degrees away from the arrows
  2. Destination rotation arrows are enabled and and remain so
  3. Teleporting away (first time afterwards) forces a rotation in the same direction as issue 1
  4. Re-enabling PlayArea rotation causes 90 degrees of rotation

I tried modifying the LocationDestinationOverride on the specific Destination Point to not have a 90 degree rotation. That helps with issue 1, but not the other three.