Search Unity

FPS player rotation limited in both axis in WebGL?

Discussion in 'Web' started by Deleted User, Nov 30, 2018.

  1. Deleted User

    Deleted User

    Guest

    Hi,

    I exported a small archiz scene to WebGL, with the default FPS player in it.
    It all works just fine in the Editor and while playing the game, but it looks like the WebGL export clamps the rotation limits on both axis of the player.
    Meaning I can look up/down and left/right in a -90/90 dgr. fashion.
    So I cannot look around in a full 360 degree fashion, which restrict my movement in the exported scene.

    Unity 2018.2.17f1 and default WebGL export settings.

    Anyone has a clue what's causing this?

    rob
     
  2. Deleted User

    Deleted User

    Guest

    In addition to my post, I tried to unlock the camera, and rebuilt again. Didn't make a difference unfortunately.
    Strange thing is also that the camera is flipped 180 degrees, so it starts off looking in the opposite direction as in the Editor/Game view.
     
  3. Deleted User

    Deleted User

    Guest

    OK,

    Fixed it my reinstalling the FPS asset from the Unity package, and rebuilding the WebGL project.

    Odd issue, but fixed now.

    cheers!

    rob
     
    EllieD likes this.