I am loading a model and trying to change the animation track on an a-animation event:
<a-entity three-model="loader:object;src:url(http://localhost:3000/upload/6tTxHz6JMPXMsGD8W/marine_anims_core.json);animation:run;animationDuration:0;enableAnimation:true" >
<a-animation begin="mouseenter" attribute="three-model.animation" repeat="1" dur="1000" direction="alternate" from="walk" to="run"></a-animation>
</a-entity>
I sadly seem to get errors like this:
aframe-extras.loaders.min.js:688 [three-model] Animation "NaN" not found.
playAnimation @ aframe-extras.loaders.min.js:688
update @ aframe-extras.loaders.min.js:658
updateProperties @ component.js:205
value @ a-entity.js:427
value @ a-entity.js:450
value @ a-entity.js:579
f @ a-animation.js:426
(anonymous function) @ a-animation.js:136
update @ Tween.js:339
update @ Tween.js:81
value @ a-scene.js:382
value @ a-scene.js:407
I am unsure if this is due to A-Animation not handling text or what?