FSDeveloper Community

Go Back   FSDeveloper Community > FSDeveloper Wiki

XML: Farris Wheel Effect

From FSDeveloper Wiki

[edit] XML: Ferris Wheel Effect

Most commonly used for labels on compass roses. This effect will keep the label upright, while the compass rotates.

Create your label and position it at 0 degrees, then assign 2 shifts to it. One for the X and one for the Y.

The Y shift script is:

-Radius * cos(heading - compass point)

The X shift is:

-Radius * sin(heading - compass point)

Note that this technique can also be used in GDI+/DirectX displays.


All times are GMT -4. The time now is 14:28.

Kirsch designed by Andrew & Austin


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Powered by vbWiki Pro 1.3 RC4. Copyright ©2006-2007, NuHit, LLC