Since I had issues with using SetRotation3D to be able to use the X,Y and Z axis for a 2D rotation (because it caused sprites being displayed in a perspective instead of orthopgrapihic view)
I tried to use the SetRotationY and X, but is there also a SetRotationZ? i couldn’t find any SetRotationZ function so far.
And for RotateBy i have the issue, that using only X and Y (because the 3 axis verison doesn work with 2d rotation) makes a weired rotation:
//Rotate on Y axis to flip the card to the side
float x = 0.f;
float y = 90.f
this rotates the sprite on the Y and Z axis, seems like it uses SkewY internally which uses a Y_Z axis?
can anyone help for direct rotations on X ,Y or Z and animations with X,Y and/or Z.
In other engines I were always able to just use SetRot(x-axis,y-axis,z-axis), SetRotX,SetRotY,SetRotZ for 2D, but with cocos those only work with 3D, would be great if someone could help.