Change in Version 0.9

Change in Version 0.9

Topic Progress:

Animation has slightly changed in Version 0.9 of A-Frame

Old use of Animation

<a-box id="box" position="0 0 0" color="#FFFF00">
    <a-animation attribute="rotation" to="0 360 0" easing="linear" dur="10000" repeat="indefinit"></a-animation>
</a-box>

New use of Animation in v 0.9

<!-- Works only with v 0.9 -->
<a-box id="box" position="0 0 0" color="#FFFF00" animation="property: rotation; to: 0 360 0; easing: linear; dur: 10000; repeat: indefinit"></a-box>
Comments are closed.