Leaflet.PixiOverlay icon indicating copy to clipboard operation
Leaflet.PixiOverlay copied to clipboard

Abnormal rotation direction

Open send010 opened this issue 4 years ago • 0 comments

When I rotate the Sprite, its rotation angle must be set to 0 to Math.PI*2, and then I use the TweenMax component to rotate, but sometimes it still rotates in the opposite direction. I wonder if anyone has encountered it? How to deal with it?

TweenMax.to(sc, 2, { directionalRotation: event.data + "_short", useRadians: true });

send010 avatar Nov 30 '20 08:11 send010