How to make virtual horizon

How could I make virtual horizon for planes?

this thing


Can’t you set it accordingly to the plane’s orientation?

1 Like

Thats the problem I have no idea what to do so I can convert parts orientation into Udim2 value

1 Like

Well I think of it like this.

X The plane’s up and down rotation.
Y The plane’s left and right rotation.
Z The plane’s roll left and roll right rotation.

One of these rotations you don’t have to get which is the left and right rotation.

In this instance simply try setting the rotation of X to the Up and Down and Z to the Roll and it should just need tweaking after that.

The Y could be measured by a compass instead.

1 Like