Custom floating menu button

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
Andre_J
Posts: 52
Joined: Thu Oct 10, 2024 3:30 pm

There seem to be a couple of bugs when using the custon button _open_skin in VR mode.

First, repositionning the button is not stable on the x axis when off centered.
Works at first, but shifts after changing panorama in a tour (five or six time).

I tried the "start" action, "node change" and others to no avail. Works only for a while.

Second, I couldn’t find a way to reposition and scale the icon on start.
Only one action is accepted.
User avatar
Hopki
Gnome
Posts: 13449
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
You would position a container where the button is, also giving it the buttons skin ID, then you can make the button icon a child of the container which will allow you to offset its position.
Regards,
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/
Andre_J
Posts: 52
Joined: Thu Oct 10, 2024 3:30 pm

Thanks

That's a great insight. Didn't think about parenting it.

But you can't have 2 objects with the same ID, can you?
Andre_J
Posts: 52
Joined: Thu Oct 10, 2024 3:30 pm

If I understand correctly, the container ID is _open_skin, and the icon "whatever you want"…
Testing it now.
Andre_J
Posts: 52
Joined: Thu Oct 10, 2024 3:30 pm

I tried all sort of variations, if you put an icon with _open_skin as an ID in a container, Pano2VR doesn’t recognize it as a custom icon. Same happens when you name the container _open_skin.

And you can't have two objects with the same ID… what am I doing wrong?
Post Reply