Forum Discussion
RussLickteig
5 days agoCommunity Member
Center point is off when I use JavaScript for animation creation.
Hey everyone. If I use the typical animations SPIN to animate a circle the circle rotates perfectly centered as it should. If I use the new AI tool in SL to create a custom animation with javaScrip...
Nedim
5 days agoCommunity Member
I’m not sure which code you used, but attached is a .story file that compares different options and approaches:
Example 1:
Object is rotating with the Default Spin Entrance Animation
Example 2:
Object is rotating using a JavaScript API object reference and the Web Animations API
Example 3:
Object is rotating using a JavaScript API object reference with the rotation property and update() function