4throck
Enthusiast !
- Joined
- Jun 19, 2008
- Messages
- 3,502
- Reaction score
- 1,008
- Points
- 153
- Location
- Lisbon
- Website
- orbiterspaceport.blogspot.com
Sorry for another general question, but this has popup up on one of my LUA "exercices".
I managed to animate some instrument gauges on my Buran VC :thumbup: They are simple mesh groups that I placed above the general panel textured polygons.
I have no problem in defining animations and make the pointers rotate related to spacecraft altitude, yawn, etc. But since they are placed at an angle, and when I rotate them in Z, part of the geometry gets buried below the panel itself.
(See the center orange line over the artificial horizon, only half is visible)
What would you suggest as a solution?
I'm doing this:
prm1 = {type='rotation',mesh=1,grp=37,ref={x=-0.643536,y=1.959575,z=15.76159},axis={x=0,y=0,z=1},angle=0.5*PI}
I tried rotating also in X or Y, but saw no difference...
I managed to animate some instrument gauges on my Buran VC :thumbup: They are simple mesh groups that I placed above the general panel textured polygons.
I have no problem in defining animations and make the pointers rotate related to spacecraft altitude, yawn, etc. But since they are placed at an angle, and when I rotate them in Z, part of the geometry gets buried below the panel itself.
(See the center orange line over the artificial horizon, only half is visible)
What would you suggest as a solution?
I'm doing this:
prm1 = {type='rotation',mesh=1,grp=37,ref={x=-0.643536,y=1.959575,z=15.76159},axis={x=0,y=0,z=1},angle=0.5*PI}
I tried rotating also in X or Y, but saw no difference...