Radar: Point Hotspots
From Garden Gnome Software
This tip looks at how to set up a radar beam or compass to pont in the correct direction in each node of a virtual tour.
The same technique can also be used for a single panorama. The project starts with you already having a virtual tour with point hotspots and your compass graphic already in the skin. For further information on doing this please visit the tutorial regarding Hotspots
These project were built using version 3.1.0.
Point Hotspots
Download the project
Download Video
- Open the Skin Editor window and add a text box with the place holder $ap (Angle Pan)
- Save and open the project, then turn the panorama to face North, make a note of the Pan Angle in the text box. Visit each node of the tour turning each panorama to the North and making a note of the Pan Angle in each.
- Once you have all the Pan Angle data, open all the p2vr project files and enter the data in the User Data information text field as show below. Click OK then Create All, and save each p2vr project file.
- Now go back to the Skin Editor of the first project file and add the following actions to the Hotspot Template:
Init => Set Element Angle => Angle: $ui => Target: radar beam (This action is only needed if you want this to also work in an HTML5 output)
Loaded => Set Element Angle => Angle: $ui => Target: radar beam
- You can remove the text box that you used to get the Pan Angle as this is no longer needed, save the skin and open the tour, the beam should now point in the correct direction in each node.