Node Direction/Rotation

Q&A about the latest versions
Post Reply
PNutPro
Posts: 6
Joined: Mon Jul 27, 2020 10:05 am

Fri Sep 25, 2020 2:27 pm

This might be a simple question, is there a way to rotate a node to face a certain way in the tour? I am using directional arrows to guide users through the tour but want to use the same arrow for each spot versus having to chose from 360 different arrows. Is there a way to rotate the node to the direction I want it to point?

Thank you
Picture1.png
Picture1.png (3.26 MiB) Viewed 153 times
User avatar
Hopki
Gnome
Posts: 10748
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Tue Oct 06, 2020 10:19 pm

Hi,
Two ways to do this, make copies of the hotspot template in the skin, each has the arrow pointing in a different direction.
As an example, you could have ht_node_up, ht_node_left, ht_node_right and so on.
Then when setting hotspots in the viewer select which hotspot template you will use by selecting it from the Skin-ID menu.

Or you could get clever and use the description text field to store the angle data for the image.
If you need to use the description text field then you need to use the above method.
But you can use a node changed action, to set the angle.
Please see the attached project, the angle data is set in each point hotspots description text field.
Regards,
Attachments
hotspot_angle.zip
(36.04 KiB) Downloaded 11 times
Hopki
Garden Gnome Software 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/
User avatar
soulbrother
Posts: 429
Joined: Tue Apr 08, 2008 7:01 pm
Location: München
Contact:

Wed Oct 07, 2020 8:32 am

Ha!
Just a few weeks ago, I did the almost same thing, but used a variable, so that I could write the "clock-angle" into the description field and it is "translated" by the variable to the angle of the arrow.
But with Hopkis trick - using the "node changed action" - it is more simple to setup!
Thanks fo rthat one!!

Old request:
And this is a very good example ( and there are some more...) why we should get more text entering fields in the hotspot editor.
I already had some other usecase:
viewtopic.php?p=53980#p53980

And thinking of multilanguage projects, there are many more options.
(Of course it is very good to have all the possibilities since v6, but just as I explained in the linked thread: It is more clear, more transparent, while working in the hs-editor, because in the skin(editor) it is a lot more complex to keep the overview, while handling sometimes hundreds of hs with (only) 3 or 4 languages in y bigger tour...
Post Reply