Andrea
Andrea

Reputation: 11

Three.js keyframe animation

this is my first post and I need an answer I didn't find anywhere else. Oh and btw I am not a professional programmer, actually more like a 3d graphic designer ;) I would like to import json models with a simple animations ( just translation e rotation ) made in 3ds max. I just found examples about skinned meshes and bone animations, but that's far from what I want.

I simply need three.js to load and play a keyframe animation when I press a button. Can someone help me find a solution?

Thanks everybody in advance, Andrea.

Upvotes: 1

Views: 4431

Answers (2)

Pim de Wit
Pim de Wit

Reputation: 305

You could try to replicate the animation using Tween.JS, which is a library that is used in one of Three.js examples.

If you're interested using this technique, there is also an in-depth tutorial combining the two.

Upvotes: 1

Alexander
Alexander

Reputation: 11

You can start with this example Import Collada to THREEJS Press "View Source" and look at model path and Animations script usage.

Upvotes: 1

Related Questions