Posted By: Toon
connect 2 bones (with ang and vec) - 07/12/12 16:06
okay...I got this code to work:
But what I want is to set "Bone" from the axe entity (my) to the position of the "righthand" position (so not the just the pivot-point of the axe model (my). How can I do that?
Code:
vec_for_bone(axe_vec.x,player,"righthand"); ang_for_bone(axe_ang.pan,player,"righthand"); vec_set(my.x,axe_vec); vec_set(my.pan,axe_ang);
But what I want is to set "Bone" from the axe entity (my) to the position of the "righthand" position (so not the just the pivot-point of the axe model (my). How can I do that?