Download and double click to add the component to Pano2VR.
The component works by detecting the tag "disable".
Once the component is added to your skin just tag each node using the User Data panel that should not have mouse wheel interaction with "disable", without the quotes.
Under the hood for those that want to know:
The component uses two Node Changed, Go To URL actions in a container, the URLs are JavaScript calls.
Code: Select all
javascript:player.setLockedWheel(true)
Code: Select all
javascript:player.setLockedWheel(false)
Both actions use an action filter that checks the tag of the node.
For the deactivate mouse wheel action the action filter is: Tags, contain, disable
For the activate mouse wheel action the action filter is: Tags, not contain, disable
Regards,