Hello.

I'am working on a 3D Funfair Simulation. The arm need to lift, i use bones. This is when it's OK:



But when i Press T to lift the arm, it goes wrong:



The arm is turning up, but also to the side and that's wrong!
The arm only need to rotate up. When i rotate my arm in MED, it is also turning like on the second picture.

My script:

Code:
	// Armen Liften
	if (key_t) { armlift = 0.1; }
	my.skill2 = armlift;
	ent_bonerotate(my,"arm",vector(0,my.skill2,0));


Does anyone can help me to turn the arm correctly up?
Thanks!

Regards,
Warkey