Skeleton Exposure

Software: Away3D 4.x

Avatar
theMightyAtom, Sr. Member
Posted: 01 August 2011 01:48 PM   Total Posts: 669

Would it be possible to expose the bones of the skeleton animator?
This would be useful for all kinds of animations/poses set client side aswell as adding objects to an animated figure.

   

Avatar
David Lenaerts, Administrator
Posted: 03 August 2011 12:15 PM   Total Posts: 80   [ # 1 ]

You should be able to access the joints through mesh.geometry.skeleton, and the state through mesh.animationState (typed as AnimationStateBase - you’ll need to cast to SkeletonAnimationState). It has properties for the globalPose and globalMatrices, etc. It’s all in pretty raw format so it can be used efficiently by gpu and cpu alike.

   

Avatar
theMightyAtom, Sr. Member
Posted: 04 August 2011 04:19 AM   Total Posts: 669   [ # 2 ]

Cheers David,

I did manage to figure it out after a couple of days.
http://away3d.com/forum/viewthread/404/

I’m discovering that it’s not features that engine is lacking, it’s documentation. Is there going to be a wiki or other means of contributing docs? I for one would be willing to write some explanations and code examples.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X