Hi,
i’m trying to use this Phaser 3 script in Phaser 2/CE
Original:
My try:
I don’t know why my method doesn’t work correctly?
Thanks!
Hi,
i’m trying to use this Phaser 3 script in Phaser 2/CE
Original:
My try:
I don’t know why my method doesn’t work correctly?
Thanks!
That’s almost it you just need to change to
angleDelta = game.math.wrapAngle(angleToPointer - sprite.rotation, true);
Thank you so much!!!
Here is another method, if you don’t need to use angular velocity: