reflog
reflog

Reputation: 7645

Rigged mesh doesn't animate (despite the bones moving)

I have a model with a skeleton, all set up.

I've added the animations and Animation Helper to see the model move. The result is odd - the bones are moving (according to animation helper rendering), but the actual model itself does not.

It's better explained with an gif:

problem

Animation is attached to the mesh using:

animation = new THREE.Animation( mesh, geometry.animation );

Any suggestions on what might be wrong?

Upvotes: 0

Views: 187

Answers (1)

reflog
reflog

Reputation: 7645

The solution was pretty simple actually:

                for ( var k in materials ) {
                    materials[k].skinning = true;
                }

Upvotes: 2

Related Questions