hi,
i've got an interface (bottombar) on my pano,
my gyro plugin works fine in ipad with the orientation Locked (iPad hard button),
i can rotate the ipad any direction, the horizon of pano follow, the bottom bar interface stay on his initial place.
but when i unlock the hard button of ipad,
rotating the device made rotating the interface too and add additional rotation to pano horizon,then pano horizon is no more aligned on screen,
how to prevent this ?
Code
<plugin name="gyro"
devices="html5"
url="plugins/gyro.js"
enabled="false"
keep="true"
camroll="true"
friction="0"
velastic="0"
vrelative="false"
onavailable=""
onloaded=""/>
Display More
i was thinking a fix like :
to avoid the double rotation occured by orientation device and interface rotation.
(If you rotate the ipad , the interface rotation add 90°more to pano gyro rotation, so the pano will be back to normal horizon after 4 rotation 90/180/270/360)
any ideas ?
thanks
z