Ah thats a good news, because i have still a problem.
It worked, but not the way i expected:
In my first picture you can see the bone in Med. Its offset on the z axis.
In the second pic you can see the same bone in red. The circle is the center and the square the visible box. Want i want, is that the box rotates about its center but it doesnt work. When rotating around the y-axis, you can see what happens(the green thing). the circle is the point the box is rotating around. the line shows the path(i have drawn the wrong axis wink ).
And the square is the bone. That shouldnt bee. It seems that i cant change the point of the angular position. And when i trie to rotate around the x axis, the rotation point is somewhere near NULLVECTOR(weird).

Code:
dFloat ang_point[3];
   dFloat ang_rotation[3];
vec_for_bone(temp.x,my,"Bone9");
ent=ent_create("box_a.mdl",vector(temp.x,temp.y,temp.z+10),bone);
bone_t = newton_addentity(ent,0,NEWTON_BOX,onforceandtorque);
you=ent_create("box_a.mdl",vector(temp.x,temp.y,temp.z),bone);
	ragdoll_ent=newton_addentity(you,70,NEWTON_BOX,onforceandtorque);
ang_point[0] = temp.x;
ang_point[1] = temp.y;
ang_point[2] = temp.z;
ang_rotation[0] = 0;
ang_rotation[1] = 1;
ang_rotation[2] = 0;	NewtonConstraintCreateHinge(nworld,ang_point[3],ang_rotation,bone_t,ragdoll_ent);



Greets Rackscha
and Good luck VeT wink

Attached Files pic_a.jpgpic_c.jpg
Last edited by Rackscha; 05/13/09 17:23.

MY Website with news of my projects:
(for example my current
Muliplayer Bomberman,
GenesisPrecompiler for LiteC
and TileMaster, an easy to use Tile editor)
Sparetime-Development