Gyro v2 in 1.19 pr19 does not respect limitview restrictions

  • Hi again

    I'm trying to do a limitview to restrict to horizontal panning only, so far works great until I enable Gyro v2 which does both ath / atv panning regardless of settings. Not sure if there's any additional settings I need to set up or Gyro plugin does not support limitviews. I could make something custom but was wondering if anybody knew something.

    Thank you

  • Hi,

    the gyro plugin doesn't support limiting the viewing range.

    Here a hacky solution that might work (by setting the limitview setting after enabling the gyro), but that's not a really supported case and the results might not be good due the absolute tracking by the gyro itself and the afterwards limiting by the viewer:

    Code
    <plugin name="gyro2"
          	...
          	camroll="false"
          	onenable="set(view.limitview, range);"
          	...
          	/>

    Best regards,
    Klaus

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!