blender-to-threejs-export-guide
blender-to-threejs-export-guide copied to clipboard
Is it possible to export camera animation?
I made camera animation which is moving along a path using track to (object) and follow the path constraint in blender, now i'm wondering if I can export the animation to gltf? I've tried several tips from stack overflow but failed
Does the camera export at all? I've had trouble getting cameras to export in the past and instead just exported an empty and added my camera to that once loaded inside the three.js scene.
Have you tested it with the gltf viewer? https://gltf-viewer.donmccurdy.com/
I finally figure out by selecting the camera and bake action with visual keying and clear parents selected, then export to gltf, selecting cameras under the objects tab, selecting always sample animations under the animations tab. Finally choose the camera in the gltf viewer.