Leaflet.PixiOverlay
Leaflet.PixiOverlay copied to clipboard
Abnormal rotation direction
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 });