The iBone parameter is the index of the bone which you want to retrieve. The only way I found out the right bones indexes was by setting a break point somewhere in CStudioModelRenderer and verifying the index there. They don't correspond to what you have in the .smd file (ie Bip01 R Hand is index 33 and not 59 as indicated in the smd file)
Hope this helps, Georges ----- Original Message ----- From: "Cortex" <[EMAIL PROTECTED]> To: "coders" <[EMAIL PROTECTED]> Sent: Saturday, February 09, 2002 2:24 PM Subject: [hlcoders] Bone position > This is a multi-part message in MIME format. > -- > [ Picked text/plain from multipart/alternative ] > <Sorry, I've send this message on topica list too :( I made a mistake :(> > > Hello, > > I wanted to get the world position of a bone (Right and left foot) client side. > I've only the id of the concerned entity... > > After searching, I've found the GET_BONE_POSITION function but I don't know > what value to use for the first parameter (int iBone)... > > If someone could give me some light, it would be very appreciated :) > > - Cortex : mapper & coder www.hlalbator.fr.st > -- > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

