Is there a way to incorporate animation into an A-Frame glTF model, causing it to smoothly move 5 spaces to the left and then 5 spaces forward? Below is my current code:
<a-gltf-model color="#FFFFFF" width="1" height="1" depth="1"
position="0 0 0"
scale="8.03 8.03 8.03"
src="https://cdn.glitch.com/18a85eac-a71c-4578-ad89-80f59b3a68c3%2Fscene%20(94).glb?v=1619466136777">
<a-animation attribute="position" repeat="indefinite" to="0 0 15" delay="5000"></a-animation_2>
<a-animation attribute="position" repeat="indefinite" to="15 0 0" delay="10000"></a-animation>
</a-a-gltf-model>
I'm having trouble getting the animations to occur sequentially. Any suggestions on how to achieve this?