Grabbing a Joint

Blitz3D Forums/Blitz3D Beginners Area/Grabbing a Joint

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Name the joints in your skeleton. Then you can:

knee = findChild("KneeJoint",animMesh)
rotateEntity knee, rnd(360),rnd(360),rnd(36)

p.s. I don't believe this works on md2 animated meshes, since the vertex animation is saved, and not sure if the joints/bones still influence the vertices...

hope that helps,
d.