how to position the weapon?

Blitz3D Forums/Blitz3D Beginners Area/how to position the weapon?

the scenario is the following:

i am using 3d studio max
i have the men
i have the gun

how may i put the gun into the men´s hand?

Thx!

1) Name the hand bone "Right_Hand" ( For an example ) and export it as b3d with Pipeline.

2)
RightHand=FindChild("Right_Hand")
to retrieve the bone in Blitz.

3)
PositionEntity Gun,EntityX(RightHand,True),EntityY(RightHand,True),EntityZ(RightHand,True)
to position the gun where the hand is.

4)
EntityParent Gun,RightHand
to make the gun following the position and orientation of the player's right hand.