Support - Forum aa
« Back to Support» where is clearAnimations in v 2.0
Posted on 01.31.2012 by VM, Duc
hello. i can't using Pivot3DUtils.clearAnimations as V1.
what's function for replace animations (clearAnimations ) was appendAnimation ??
Reply By Nehmad, Ariel 02.01.2012
Hi Duc, we need to add this method again, but at the moment, try to use something like this:
model.forEach( removeAnimations )
private function removeAnimations( p:Pivot3D ):void
{
model.forEach( removeAnimations )
private function removeAnimations( p:Pivot3D ):void
{
if ( p.frames ) p.frames = null;
if ( p is Mesh3D && Mesh3D(p).modifier is SkinModifier )
{
SkinModifier(Mesh3D(p).modifier).root.forEach( removeAnimations );
}
}
}
Popular
- 1. Question of Alpha sorting system
- 2. Rndering issue on AIR Mobile build
- 3. Problems with bone position?
- 4. Is it possible to make a primitive...
- 5. Messed up textures in Flare 3d Studio
- 6. Moving "by hand" the corners of a Plane
- 7. Shapes, splines and knots
- 8. Diferencia entre Flare3D Studio y...
- 9. Transform between two states
- 10. ReferenceError: Error #1074
