Hi,
I have a problem with the animation of a cloned md2 object.
Here are parts of my code:
var loader:LoaderCube = Md2.load("models/ogre.md2",
{material:Smart.getMaterial('ogre'), loadersize:100, scaling:0.01,
rotationY:90}) as LoaderCube;
view.scene.addChild(loader);
loader.addOnSuccess(onLoaderSuccess);
function onLoaderSuccess(event:Event):void {
var ogre:Object3D = loader.handle.clone();
view.scene.addChild(ogre);
ogre.position = new Number3D(300, 0, 300);
(ogre as Mesh).play(new AnimationSequence('run', true, true, 7));
}
So when i run this code, both original and cloned model play the
animationsequence.
Is this normal or am i doing something wrong?
Greetz
Sam
Original issue reported on code.google.com by samoverd...@gmail.com on 22 Aug 2009 at 5:37
Original issue reported on code.google.com by
samoverd...@gmail.com
on 22 Aug 2009 at 5:37