You are not logged in.

1

Monday, October 19th 2020, 1:57pm

begginer question ~ about VR Mode

thank you for reading my question


There are three scenes.
Each scene has a hotspot with the names pop1, pop2, and pop3.
I want to erase pop2 hotspot in VR mode and pop3 in scene 2.
(visible or scale)


Source code

1
 <events name="removehotspot" keep="true"         webvr_onentervr="set(hotspot[pop1].scale,0);set(hotspot[pop2].scale,0);set(hotspot[pop3].scale,0);"        webvr_onexitvr="set(hotspot[pop1].scale,0.8);set(hotspot[pop2].scale,0.8);set(hotspot[pop3].scale,0.8);"        />



Do you make events like this?
As onentervr is used, it only works when the vr mode is run, not in the second scene.


best regard:)