Hi guys,Now I have a big problem about animator Class. In last vision
3.40, I use the code as below to import the dae file.
[embed(source="assets/daeModel.dae",mimeType="application/
octet-stream")]
private var Character:Class
var character:ObjectContainer3D = Collada.parse(Character);
var animation:SkinAnimation =
character.animationLibrary["default"].animation as SkinAnimation;
animation.update(getTimer()/1000);
After debug the program, character animation was displayed on the
screen perfectly.
But, when I use the latest updated vision 3.50, I found that
SkinAnimation change to BonesAnimator. Then I use the newest way to
import the dae file.
[embed(source="assets/daeModel.dae",mimeType="application/
octet-stream")]
private var Character:Class
var collada:Collada=new Collada();
var character:ObjectContainer3D =
collada.parseGeometry(Model) as ObjectContainer3D;
var animation:BonesAnimator =
character.animationLibrary.getAnimation("default").animator as
BonesAnimator;
animation.update(getTimer()/1000);
After debug the program, character can appear in the scene, but once
add the animation, the character will appear incomplete problem. Some
parts of the character can move, and some parts can’t move.Does
someone encounter the same problem? Very anxious waiting for answers.