Follow that Bone

Software: Away3D 4.x

Avatar
theMightyAtom, Sr. Member
Posted: 01 August 2011 10:07 AM   Total Posts: 669

Is there any way to get the position and orientation of a single Bone, so that objects like a gun, or a pair of shoes could be added and removed from a skeleton animation dynamically?

What I’m looking for is a getBoneByName(“R_hand”) feature.
I’ve looked through all the skeleton classes, but am none the wiser.

Cheers!

   

Avatar
theMightyAtom, Sr. Member
Posted: 01 August 2011 01:29 PM   Total Posts: 669   [ # 1 ]

..or failing that, just the position of a vertex by it’s index.
When you access the vertexData, you get back the position from the original pose and not the current position. I’ll keep digging!

   

Avatar
theMightyAtom, Sr. Member
Posted: 02 August 2011 09:13 AM   Total Posts: 669   [ # 2 ]

I finally found a way of doing this.
Tutorial later cool smile

   

Avatar
sebbdk, Jr. Member
Posted: 02 August 2011 09:19 AM   Total Posts: 39   [ # 3 ]

awesome looking forward to it, would like to know how to do this aswell :D

   

Avatar
theMightyAtom, Sr. Member
Posted: 02 August 2011 11:25 AM   Total Posts: 669   [ # 4 ]

Once you know your bone hierarchy, it’s a one liner raspberry

I will be updating the tutorial at http://videometry.blogspot.com/2011/05/mocap-to-molehill-via-3d-studio-max-and.html just as soon as I can…

DONE! (in brief anyway…)

   

Avatar
80prozent, Sr. Member
Posted: 02 August 2011 03:07 PM   Total Posts: 430   [ # 5 ]

thanks for sharing.

mapping mocap data to skeletons in away3d is a something, i am going to try asap.

asap means that once i got my exported c4d data to work in as3 without melting my head on the way.

 Signature 

sorry…i hope my actionscript is better than my english…

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X