Portal-In-Unity icon indicating copy to clipboard operation
Portal-In-Unity copied to clipboard

Player isn't rotated teleporting between portals

Open DacodaDragon opened this issue 8 years ago • 1 comments

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.

DacodaDragon avatar Jan 10 '18 14:01 DacodaDragon

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.

DacodaDragon avatar Jan 10 '18 14:01 DacodaDragon