This component detects when the panorama is moving.
This can be due to click and drag or when autorotate is being used.
How it works, the component adds a container to the skin with the ID: _code_detect_panorama_movement
This has the required code needed to make the component work.
It also adds a true/false variable with the name: panoramaMoving
The variable is false when the panorama is at rest.
As soon as the panorama is moved, either panned or tilted the variable turns to true.
The variable can be used with logic blocks, actions filters and also with a Variable Changed source action to trigger an action.
Regards,
Detect Panorama Movement
- Hopki
- Gnome
- Posts: 13039
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
- Attachments
-
- detect_movement.ggskc
- (7.83 KiB) Downloaded 381 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/
-
- Posts: 9
- Joined: Fri Nov 02, 2018 1:06 pm
Smart solution, as expected of you.
When I had to solve the same problem I solved it by checking the values of $ (ap) $ (at) $ (af), I needed to check the zoom as well
When I had to solve the same problem I solved it by checking the values of $ (ap) $ (at) $ (af), I needed to check the zoom as well
- Hopki
- Gnome
- Posts: 13039
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
I can not take all the credit for this, it was a customer question which we then had a think about
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/
-
- Posts: 9
- Joined: Fri Nov 02, 2018 1:06 pm
- Hopki
- Gnome
- Posts: 13039
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi paolodalprato,
No, what you want to do can be done with a timer, Player inactive setting.
Then in the timer set a deactivate, Open Next Panorama, going back to the start node.
Regards,
No, what you want to do can be done with a timer, Player inactive setting.
Then in the timer set a deactivate, Open Next Panorama, going back to the start node.
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/
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/