Hi to all,
I'm sure pn2vr can do this but I don't find how it is possible.
Look : When I enter a new node, I want this node to update some variables, state of button, help and so on.
But how can I do that, that is the question ?!?
Any idea would be much appreciated.
Cheers,
How to init variables when a new node open ?
- dePassage66
- Posts: 86
- Joined: Mon Mar 20, 2023 11:19 am
pour Visites Guidées Panoramiques https://www.visitespanoramiques.com/index.html
(sorry, no translation available yet!)
(sorry, no translation available yet!)
You can use Actions with Action Source: Node Changed
Ruud van Reenen
3DV - Real estate artist impressions and animations
VR Tourviewer - Experience Pano2VR tours on Oculus Go, Quest, Rift, Pico and Cardboard VR headsets
3DV - Real estate artist impressions and animations
VR Tourviewer - Experience Pano2VR tours on Oculus Go, Quest, Rift, Pico and Cardboard VR headsets
- dePassage66
- Posts: 86
- Joined: Mon Mar 20, 2023 11:19 am
Ok, but where do I put this action ?
I found what you're talking about but I look for the right place where to put this script and I don't find it.
Thanks anyway,
Regards,
I found what you're talking about but I look for the right place where to put this script and I don't find it.
Thanks anyway,
Regards,
pour Visites Guidées Panoramiques https://www.visitespanoramiques.com/index.html
(sorry, no translation available yet!)
(sorry, no translation available yet!)
I'm simply using an empty container in the root of the skin, called 'Initialize' for actions with sources like ConfigLoaded, NodeChanges, TilesReady etc.
Just name it something so you can easily find it again.
Just name it something so you can easily find it again.
Ruud van Reenen
3DV - Real estate artist impressions and animations
VR Tourviewer - Experience Pano2VR tours on Oculus Go, Quest, Rift, Pico and Cardboard VR headsets
3DV - Real estate artist impressions and animations
VR Tourviewer - Experience Pano2VR tours on Oculus Go, Quest, Rift, Pico and Cardboard VR headsets
- dePassage66
- Posts: 86
- Joined: Mon Mar 20, 2023 11:19 am
Ok, thank you.
I understand what you mean but I wonder how you call the functions inside this container ?
I look deeper with it and I'll come back if I find the solution.
BTW, if a tutorial about that exist, I'll be glad of it
Have a nice day,
Regards,
I understand what you mean but I wonder how you call the functions inside this container ?
I look deeper with it and I'll come back if I find the solution.
BTW, if a tutorial about that exist, I'll be glad of it
Have a nice day,
Regards,
pour Visites Guidées Panoramiques https://www.visitespanoramiques.com/index.html
(sorry, no translation available yet!)
(sorry, no translation available yet!)
- dePassage66
- Posts: 86
- Joined: Mon Mar 20, 2023 11:19 am
It's OK !
With your idea, it works well now, thanks a lot.
I made a container like you said and give it the action When images are ready then update variables according to different criteria in the logic bloc.
Without this forum I wouldn't have solved my problem I guess...
Have a nice day,
Regards,
With your idea, it works well now, thanks a lot.
I made a container like you said and give it the action When images are ready then update variables according to different criteria in the logic bloc.
Without this forum I wouldn't have solved my problem I guess...
Have a nice day,
Regards,
pour Visites Guidées Panoramiques https://www.visitespanoramiques.com/index.html
(sorry, no translation available yet!)
(sorry, no translation available yet!)