How can I move a hotspot (change ath) when panning the panorama to some direction? Is there an event that I can use etc? I'd like to check my current ath and slice it half so it seems that the hotspot would follow when I move.
Example:
Current ath = 0
Code
<hotspot name="test" url="test.png" ath="0" atv="0" width="100" height="prop" distorted="true" rx="0.0" ry="0.0" rz="0.0"/>
Current ath = 90
Code
<hotspot name="test" url="test.png" ath="45" atv="0" width="100" height="prop" distorted="true" rx="0.0" ry="0.0" rz="0.0"/>
Current ath = 180
Code
<hotspot name="test" url="test.png" ath="90" atv="0" width="100" height="prop" distorted="true" rx="0.0" ry="0.0" rz="0.0"/>
After this phase the logic should change that the ath would be negative
Current ath = 270
Code
<hotspot name="test" url="test.png" ath="-45" atv="0" width="100" height="prop" distorted="true" rx="0.0" ry="0.0" rz="0.0"/>
Current ath = 358
Code
<hotspot name="test" url="test.png" ath="-1" atv="0" width="100" height="prop" distorted="true" rx="0.0" ry="0.0" rz="0.0"/>
Current ath = 360 / 0