Closed HBEngineer closed 4 years ago
I cannot make work the animation. I can see the 3D model but no the animation. What am I doing wrong? This is the index.html code:
<!doctype HTML> <html> <script src="https://cdn.jsdelivr.net/gh/aframevr/aframe@1aac9e611981349852bd9a7dc6e005bc3c5a7680/dist/aframe-master.min.js"></script> <script src="https://raw.githack.com/AR-js-org/AR.js/master/aframe/build/aframe-ar.js"></script> <script src="https://cdn.jsdelivr.net/gh/donmccurdy/aframe-extras@v6.1.0/dist/aframe-extras.min.js"></script> <body style='margin : 0px; overflow: hidden;'> <a-scene embedded arjs='sourceType: webcam; debugUIEnabled: false; detectionMode: mono_and_matrix; patternRatio: 0.9;'> <a-marker type='pattern' url='assets/pattern-marker.patt' smooth="true" smoothCount="10" smoothTolerance=".01" smoothThreshold="50"> <a-entity gltf-model="assets/elgc.gltf" scale="10 10 10" rotation="0 -90 90" position="-0.8 0 0.3" animation-mixer="clip: idle; loop: repeat" > </a-entity> </a-marker> <a-entity camera></a-entity> </a-scene> </body>
I cannot make work the animation. I can see the 3D model but no the animation. What am I doing wrong? This is the index.html code: