Hi community,
i got a little problem with a weapon: When i try to give the weapon (a bow) into the player's hand, it always rotates when i'm moving.
I use the following code:
action players_weapon ()
{
my.flags =PASSABLE;
while (player == 0) {wait (1);}
my.scale_x =0.43;
my.scale_y =0.43;
my.scale_z =0.43;
while (1)
{
vec_for_bone(my.x,player,"bone7"); //bone7=hand
vec_for_bone(my.pan,player,"bone7");
wait (1);
}
}
I think thge bone i use for the moving is rotating, but why? I mean, the vertex from the bone don't move and actually i didn't use that bone in the walk animation. I there any other way to move and rotate the bow exactly like the hand?