I cant understand whats going on and now my heads popped so ive come on here as know one of you guys will know the answer.
To try and explain this ill go with this:
A plane can fly through the air and be at any angle, it has flaps ETC. These Flaps ETC are child objects to the main plane object. In the editor I can position and angle them how i want. All good.
Now i want that flap, elevator what ever to move up or down to a certain angle on one of its OWN axis?
I feel I have tried every local, euler, inversetransform function available and non get me to what i want.
The script I have to do the angle changing is attached to FLAP object.
What i dont understand is, in the editor lets say my child object (elevator in this case) I set its rotation at 0,0,0 and i then in the EDITOR I rotate (locally) the X axis my using my mouse only the X values change such as 20,0,0 or -20,0,0 … If i run the game, pause it and do that same again this is not the case… all values change.
Hope you can help
Thanks