Right now, my code looks like this:
...
action player_code()
{
...
ent_bonereset(my,"Bone");
...
while(1)
{
...
ent_bonerotate(my, "Bone", vector(0,camera.tilt,0));
wait(1);
}
...
}
I hate to ask this, but is there a way to limit how far the player model using the ent_bonerotate() function will bend forward and backward at the waist (limit how much the waist bone will rotate?), independent of how far the camera will tilt and rotate behind the player? That way, if I look straight up, the player's head and shoulders will not block the camera's view looking straight up?