javascript - Three.js play multiple animation in same time -
my problem following one:
i export blender 3d model in json, animations concatenated on frame, i've succeed play animation want, can't stop @ end, know if there way separate frame multiple animations in order play multiple animations in same time?
actually play animation want in frame, search in object
, beginning of animation , play that:
if ((begintime = this.hasanim(object.parent.animations[0], object.name)) !== false) { var action = object.parent.mixer.clipaction(object.parent.animations[0], object.parent); action.time = begintime; action.play(); }
where hasanim
find if object or it's children has anim
, , begintime
in frame of animation in order play after.
i assume way not clean , bit disorder, didn't found other way ... add 3d model has not skinned animations.
Comments
Post a Comment