Reputation: 171
Is there a way to rotate an object (plain graphic) around it's X axis using Starling (stage3D)? There was rotationXYZ in "standard" Flash (stage) to do this and I am looking for similar solution.
Upvotes: 0
Views: 1467
Reputation: 42166
At the moment, these features are not implemented (see forum page) .But, you can play with transformationMatrix
of Starling's DisplayObject
. Or if you are rendering your texture on runtime from ordinary Flash DisplayObject
you can first give rotation to DisplayObject
instance and then turn it into texture , very elegant..
Upvotes: 1