aframevr / aframe-inspector

:mag: Visual inspector tool for A-Frame. Hit *<ctrl> + <alt> + i* on any A-Frame scene.
https://aframe.io/aframe-inspector/examples/
MIT License
654 stars 201 forks source link

Aframe export to GLTF and Animations #539

Closed siddhartpai closed 6 years ago

siddhartpai commented 6 years ago

Currently GLTF Export using the THREE.GLTFExporter doesn't support Tween Animations , rather only supports THREE.AnimationClip .

Are there plans to support export to GLTF ?

ngokevin commented 6 years ago

<a-animation> does basic tweening. You probably want https://github.com/donmccurdy/aframe-extras/tree/master/src/loaders#animation

siddhartpai commented 6 years ago

Hi @ngokevin I don't think I explained the question well enough.

So I'm using the gltf-exporter to export out entire A-Frame scenes in to a gltf model, The A-Frame scene can have animations that have been added to it via a-animation tags ; which aren't exported out when the exportToGLTF is done. Is there any way I can handle that ?

GLTF Exporter

ngokevin commented 6 years ago

Not really, I would use a dedicated animation tool to handle it if possible or don't know feasible to hand code.