Answer the question
In order to leave comments, you need to log in
How to link degrees and coordinates?
Hello!
I have a sprite. And I twist it like this. (Attention to the square (sprite) and the arrow, which tells us that the sprite is rotating about the center.
sprite.setRotation((float)Math.toDegrees((float)Math.sin(i))); Вот так кодом кручу.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question