"Turn 180 Degrees" Button relative to current view

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
Mehelle
Posts: 9
Joined: Mon Feb 24, 2025 4:59 pm

hello,

I was wondering if there was a way to create a button in the tour skin that would turn the viewer 180 degrees from where they are currently looking, something similar to what the 'z' shortcut does in the editor.

Thank you!
User avatar
Hopki
Gnome
Posts: 13448
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi Mehelle,
Please have a look at the attached project.
After the point hotspot has been clicked, it fades to the next node, and then it rotates 180 degrees.
Regards,
Attachments
project.zip
(25.01 KiB) Downloaded 148 times
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Mehelle
Posts: 9
Joined: Mon Feb 24, 2025 4:59 pm

Hi Hopki,

This is a very clever solution, thank you!
Springy
Posts: 2
Joined: Tue Jan 17, 2023 1:50 pm

For a while I couldn't figure out how to keep the PanTilt as it would set to 0º, having realised creating a variable targetTilt first and adding this into the Value on the pan_timer action: $(*targetPan)/$(*targetTilt)/100/4/1 . Hope this helps others.
Attachments
pan_timer action.png
pan_timer action.png (64.49 KiB) Viewed 5538 times
pan_timer action value.png
pan_timer action value.png (217.79 KiB) Viewed 5538 times
Springy
Posts: 2
Joined: Tue Jan 17, 2023 1:50 pm

Sorry if this is the wrong place, but I couldn't find a solution to adjust the 'move to view' and offset the position of a hotspot. Following on from the variable targetTilt I was able to get the hotspot value of pan/tilt, change the tilt value and set move to view so an information box would appear above the tapped hotspot - I'm going to have an animated image below and require this visible, hence setting an offset to the tilt (default centres view). Don't know if correct way to do, but I'm also adjusting the offset based on if mobile or not. My project FoV Mode is set to diagonal and so this impacts tilt due to FoV changing between mobile/desktop screen ratio. Maybe others with more experience have better solutions. Again, hope this helps. Value: $(hap)/$(*targetTilt)/85
Attachments
Move to view hotspot offset action.png
Move to view hotspot offset action.png (220.74 KiB) Viewed 5150 times
Move to view hotspot offset.png
Move to view hotspot offset.png (104.37 KiB) Viewed 5150 times
Post Reply