How could I make virtual horizon for planes?
Can’t you set it accordingly to the plane’s orientation?
Thats the problem I have no idea what to do so I can convert parts orientation into Udim2 value
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.