-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Hey, I noticed that the rotation animation wasn't working when I upgraded to v9. I fixed it with the change to animateRotation below:
at line 79, change
tile.tile.rotation += (delta * dt);
to
if (tile.data.rotation > 360) {
tile.data.rotation -= 360;
}
tile.document.data.rotation += (delta * dt);
const refreshPerception = false;
tile.refresh({refreshPerception});
I tried using tile.rotate but that caused the animation to lag a little. This change is client-side only and is smooth.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels