Collada animations, KeyFrameAnimation removed ?
See original GitHub issueDescription of the problem
Hello,
The class KeyFrameAnimation
has been removed from the docs and the examples. How am I supposed to animate my collada model when kinematics and skinning methods are not working at all ? How can i use the collada.animations
with this latest release ( r86 ) ?
const loader = new ColladaLoader();
loader.load(source, function(collada)
{
const obj = collada.scene;
const animations = collada.animations; // I have to use this.
obj.traverse(function(child)
{
child.castShadow = true;
child.receiveShadow = true;
});
});
Thanks for reading.
Three.js version
- Dev
- r86
- …
Browser
- All of them
- Chrome
- Firefox
- Internet Explorer
OS
- All of them
- Windows
- macOS
- Linux
- Android
- iOS
Issue Analytics
- State:
- Created 6 years ago
- Comments:5
Top Results From Across the Web
Keyframe animation missing from Collada export
When I export to Collada, all the objects have their keyframes exported except one. This one object's animation is completely absent from the ......
Read more >Can't update / remove keyframe values from an imported ...
I'm trying to edit keyframes in an existing animation in a .dae file I have imported to Blender 2.68a, however none of the...
Read more >Problems creating animated Collada DAE files in 3ds Max ...
Export takes a long time and the resulting DAE is not animated in InfraWorks. ... Remove bones animation and use keyframe animation instead....
Read more >How to get non-rigged keyframe animations using assimp ...
I know how to get the animation and mesh data from .dae files using assimp but how would I use this to animate...
Read more >How To Export 3D Models With Their Animation From Blender ...
In this tutorial I'll guide you through the process of animating a model in Blender, exporting it with the animation (s), importing it, ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
These two examples are not yet official but they work with
ColladaLoader2
in themaster
branch.https://yume.human-interactive.org/examples/collada/index.html https://yume.human-interactive.org/examples/collada/multi.html (Heads up! Big collada file)
We currently try to enhance
ColladaLoader2
becauseColladaLoader
allocates a lot of memory. Some users already reported problems in this context (see https://github.com/mrdoob/three.js/issues/10592).Please be aware, that
ColladaLoader2
is not perfect yet. If you encounter problems, just report them and i will look into it.You can use
ColladaLoader2
for skeletal animations. Kinematics support is not yet implemented though.Besides, the following example shows how you can use the old
ColladaLoader
with skeletal animations and the core animation system.KeyFrameAnimation
,Animation
andAnimationHandler
have been deprecated for almost two years and were removed from the project withR86
. If you depend on these entities, you can still checkoutR85
.