Just thought I'd bring this to people's attention in case anyone else
is having the same problem; I was trying to use a DAE file consisting
of two objects both skinned to the same skeleton (i.e. a body and a
removable jacket). The jacket worked, and most of the body worked, but
any bones that the jacket and body were both skinned to all stretched
down to the origin of the scene.

Long story short, Collada.buildAnimations assigns a single
skincontroller to a single bone. I replaced the Bone.controller
property with a vector, and then tweaked the relevant methods in all
the related classes (i.e. "bone.controller = _skinController;" to
"bone.controllers.push(_skinController);", etc.) and now multiple
objects with a single skeleton work fine.

Something to keep in mind for future versions! Am I the first person
to run into this?

Reply via email to