Hi
Is there a simple way to create next and preious button for State Changes in Object2vr
with button stacking.
In Pano2vr you can use the data fields.
Thanks
Greg
State change button next and previous
- Hopki
- Gnome
- Posts: 13029
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi Greg,
Object2VR has the action Change Viewstate and then you select a state to show.
So with stacking buttons you can do this, below is a table of four buttons, each will have a change view state action changing to its relevant state. So in the example button 0 will change to state 0, button 1, to state 1 etc.
button 0 = visible
button 1 = hide
button 2= hide
button 3 = hide
button 0 will have an action to hide self and show button 1. Button 1 with have a similar action but showing button 2 and so on.
Button 3 with have hide self show button 0 to start again.
OK not next an previous but will just toggle around.
HOWEVER:
You can make a next and previous buttons but then it gets a bit more tricky.
The simplest way is to have the buttons slide up ab down in a masking container using a set element position.
In the attached skin I have use a change position so you can see what is going on.
Regards,
Hopki
Object2VR has the action Change Viewstate and then you select a state to show.
So with stacking buttons you can do this, below is a table of four buttons, each will have a change view state action changing to its relevant state. So in the example button 0 will change to state 0, button 1, to state 1 etc.
button 0 = visible
button 1 = hide
button 2= hide
button 3 = hide
button 0 will have an action to hide self and show button 1. Button 1 with have a similar action but showing button 2 and so on.
Button 3 with have hide self show button 0 to start again.
OK not next an previous but will just toggle around.
HOWEVER:
You can make a next and previous buttons but then it gets a bit more tricky.
The simplest way is to have the buttons slide up ab down in a masking container using a set element position.
In the attached skin I have use a change position so you can see what is going on.
Regards,
Hopki
- Attachments
-
- skin.ggsk
- (920 Bytes) Downloaded 258 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/
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/