So I have that panel or any other mxml component. I want somehow to rotate it around like a wheel of a car with which you drive it… loke a Racing wheel… sow like when mousebutton is down it captures pont of component… when you move mouse component rotates (not moves) according to new mouse position… How to rotate MXML component round its center like a wheel respectfully to mouse?
welll feel free to edit this question because I know Ive formulated it in a bad way…
Add these to a utility class if you don’t want to add a dependency to fl.motion.*
They are MatrixTransformer’s rotateAroundInternalPoint() and rotateAroundExternalPoint()
That would be for 2d. For 3d see transformAround.
Don’t forget to check if layout siblings are updated properly or not.
HTH