3D style icon?

Q&A about the latest versions
Post Reply
DMcKinney
Posts: 68
Joined: Thu Apr 30, 2020 12:53 pm

I'm trying to make an info icon that will have a 3D appearance, moving as the pan and tilt change. I'm using modifiers in the skin, tying the "X scale" to pan, and the "rotate" function to tilt, and I've got it to the point where it works the way I'd like as long as the icon is dropped at a pan of zero degrees, but I can't figure out how to compensate for different initial pan positions!

You see below - the pointer works the way I'd like on the North wall - but that's it.

https://dmmtours.s3.amazonaws.com/sj8b2 ... 2646734447
DMcKinney
Posts: 68
Joined: Thu Apr 30, 2020 12:53 pm

So, I have "scale x" tied to the "pan" value. When the icon is dropped at a point where the pan value is 0, the 3D effect work fine. What I need is a way to compensate for differing initial pan values. So, for instance, if I drop a hotspot at 90 degrees, I'd need to subtract 90 from that initial pan value, and use that value to determine the X scale.

The problem could be solved if there were a function added for a "pan delta", which would calculate the scale changed based on whatever the change is from the original pan value, be it 0 or whatever.

Long-winded way expressing a new feature request, I suppose! :lol:
pan delta.png
pan delta.png (5.44 KiB) Viewed 735 times
DMcKinney
Posts: 68
Joined: Thu Apr 30, 2020 12:53 pm

I'll try a javascript approach - if I can get it to work, I'll post it!
User avatar
k.ary.n
Gnome
Posts: 669
Joined: Wed Aug 15, 2007 1:02 pm

Thanks!

In the meantime, I'll add it do the list.
DMcKinney
Posts: 68
Joined: Thu Apr 30, 2020 12:53 pm

Great, thank you!! (no luck with the javascript approach so far...)
Post Reply