Hi again,
i still have the problem with orientation of the bones.
The thing is i am getting permanently new points in 3D space expressed in vectors. Now i want that my bone changes the orientations towards exactly this changing points.

The code from Myrkling above seems to be suitable but the bone is moving only in pan direction. How to get tilt and roll orientations working??

and sorry if i get it wrong, but according to the manual i get only pan and tilt using
vec_to_angle (ANGLE* ang, VECTOR* dir);
roll seems to be missing

thanks in advance for any help



Last edited by pjotr987; 07/10/11 10:01.