got a problem with my bone_rotate. if i press left_mouse(actoin1_key) i can let the bone rotate, but how is it makeable that the bone goes smooth to this root position?

HERES THE CODE


if((movementType == typeMouseOrKeyboard && (Key_Pressed(action1_key_scancode) )))
{


// Bonebewegung für Bogen
camera_tilt = bone_ang.tilt; // Neue Angaben für tilt-Bewegung des Kopfes
camera_tilt = clamp(camera_tilt,-80,80); // Neue Angaben für tilt-Bewegung des Kopfes

bone_ang.tilt = -(pointer.y - 400) / 10;
bone_ang.tilt = clamp(bone_ang.tilt, -80,80);
bone_ang.roll = 0;

ent_bonerotate(my,"Bip01_Spine1", bone_ang);

my.moveMode = punch;

}


Visit IGRAVISION at: http://www.igravision.com
_________________________