Question by
lourencokaz · Oct 18, 2017 at 03:31 PM ·
rotate objectclick to move
how to rotate X.Y by the movement of the mause?
How can I make my character rotate towards the mause I created my esprite but could only do a rotation for the X because my sprite is turned to the right.
this is my script and here is an image of my pesonagem, example on the Y axis would like it to be turned to the 90th angle so it looks like it is heading towards.
sou brasileiro e estou traduzindo no google tradutor
in this image I clicked it to go up.


codigo.png
(92.5 kB)
salto.png
(139.9 kB)
Comment
Your answer