• Find local position of right/left player hand
    2 replies, posted
Hello all, So this topic is in extension of the previous one about attaching an entity to player hand. So I decided to try the weld system, because weld supports bone indexes. But to weld the custom suitcase entity to the player hand, I need the local position of it's right and left hand. So the question is, how do i get the local position of the right/left player hand ?
Hello, Try something like this: [code] local leftHandPos = ply:GetBonePosition( ply:LookupBone( "ValveBiped.Bip01_L_Hand" ) ) local rightHandPos = ply:GetBonePosition( ply:LookupBone( "ValveBiped.Bip01_R_Hand" ) ) [/code]
Ok that works, however again library constraint does not work... Realy this library is annoying, it never works like I want !! The returned boolean is always false, it's just sometimes that it works...
Sorry, you need to Log In to post a reply to this thread.