Create a compass similar to Google Street View?

Q&A about the latest versions
Post Reply
SHjelle
Posts: 4
Joined: Wed Apr 08, 2020 10:57 am

Mon May 11, 2020 6:37 pm

Hey,
Is it possible to create a compass similar to what you have on Google Street view?
I know I can make an object rotate on the "north" based on the landmark,
but can you use the GPS location to create an object (Say a thin rectangle) and have it rotate like a compass?

Thanks,
S.
RockHunter
Posts: 19
Joined: Thu Jan 30, 2020 4:29 pm

Tue May 12, 2020 6:32 pm

I'n no expert in how to do that, but a starting point would be to look at https://ggnome.com/doc/placeholders-list/
You can see that $(an) is the "current pan angle with north setting applied".
From here, I'd look in the Skin editor at the feature "Node 3D Hotspot" to see how object transformations are done on screen.
I assume you'd need to delve into the scripting, but it's a bit above my current knowledge.

Hope this helps,
Wolfgang
User avatar
Hopki
Gnome
Posts: 11511
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Tue May 19, 2020 10:00 pm

Hi Guys,
The rotating part just needs the Modifier Pan North.
This will then point to whichever direction you have set north in the panorama.,
Regards,
Hopki
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/
Post Reply