Open DacodaDragon opened 6 years ago
A solution to this would be to look into UnityStandardAssets.Characters.FirstPerson.MouseLook and fix the rotations so it doesn't force a rotation but instead uses addition to the camera rotation depending on the mouselock.
UnityStandardAssets.Characters.FirstPerson.MouseLook forces a rotation on the player, negating the added rotation from PortalTeleporter. The unwanted behavior can be reproduced when the rotation of both portals do not equal eachother.