[EDITED]Why does my ragdoll keeps spinning on the ground?

kjs335

22-10-2006 11:13:16

http://www.zippyvideos.com/593954865616 ... sscombat4/
This is a part of a flash movie, Madness Combat 4 by Krinkel.

my ragdoll is almost identical to the one in the video clip above.
But my ragdoll spins anti clock wise when it hits the ground.

Can anyone give any hints about fixing it?

Here is my ragdoll script.

<RagDoll>
<Bone dir="0 1 0" length="0.3" shape="box" size="2 1 1" mass="40.0" skeleton_bone="spineBone1">
<Bone dir="0 1 0" length="0.1" shape="box" size="0.5 0.5 0.5" mass="40.0" skeleton_bone="thigh.r">
<Joint type="ballsocket" pin="0 1 0" limit1="-5.0" limit2="0.0" />
<Bone dir="0 1 0" length="0.1" shape="box" size="0.5 0.5 1" mass="25.0" skeleton_bone="leg.r">
<Joint type="ballsocket" pin="0 1 0" limit1="5.0" limit2="0.0" />
</Bone>
</Bone>
<Bone dir="0 1 0" length="0.1" shape="box" size="0.5 0.5 0.5" mass="40.0" skeleton_bone="thigh.l">
<Joint type="ballsocket" pin="0 1 0" limit1="-5.0" limit2="0.0" />
<Bone dir="0 1 0" length="0.1" shape="box" size="0.5 0.5 1" mass="25.0" skeleton_bone="leg.l">
<Joint type="ballsocket" pin="0 1 0" limit1="5.0" limit2="0.0" />
</Bone>
</Bone>

<Bone dir="0 1 0" length="0.1" shape="box" size="2 1 1" mass="40.0" skeleton_bone="spineBone2">
<Joint type="ballsocket" pin="0 1 0" limit1="20.0" limit2="0.0" />

<Bone dir="0 1 0" length="0.1" shape="box" size="2 1 1" mass="40.0" skeleton_bone="spineBone3">
<Joint type="ballsocket" pin="0 1 0" limit1="20.0" limit2="0.0" />

<Bone dir="0 1 0" length="0.1" shape="box" size="2 1 1" mass="40.0" skeleton_bone="spineBone4">
<Joint type="ballsocket" pin="0 1 0" limit1="20.0" limit2="0.0" />

<Bone dir="0 1 0" length="0.1" shape="box" size="0.4 0.4 0.4" mass="10.0" skeleton_bone="shoulder.r">
<Joint type="ballsocket" pin="0 1 0" limit1="20.0" limit2="10.0" />
<Bone dir="0 1 0" length="0.1" shape="box" size="0.4 0.4 0.4" mass="10.0" skeleton_bone="upper_arm.r">
<Joint type="ballsocket" pin="1 0 0" limit1="20.0" limit2="0.0" />
<Bone dir="0 1 0" length="0.1" shape="box" size="0.4 0.4 0.4" mass="10.0" skeleton_bone="lower_arm.r">
<Joint type="ballsocket" pin="1 0 0" limit1="20.0" limit2="0.0" />
<Bone dir="0 1 0" length="0.1" shape="box" size="1 1 1" mass="15.0" skeleton_bone="hand.r">
<Joint type="ballsocket" pin="1 0 0" limit1="10.0" limit2="10.0" />
</Bone>
</Bone>
</Bone>
</Bone>

<Bone dir="0 1 0" length="0.1" shape="box" size="1 0.5 0.5" mass="40.0" skeleton_bone="spineBone5">
<Joint type="ballsocket" pin="0 1 0" limit1="20.0" limit2="0.0" />


<Bone dir="0 1 0" length="0.1" shape="box" size="0.4 0.4 0.4" mass="40.0" skeleton_bone="neck">
<Joint type="ballsocket" pin="0 1 0" limit1="20.0" limit2="0.0" />

<Bone dir="0 1 0" length="0.3" shape="box" size="0.8 1.6 0.8" mass="50.0" skeleton_bone="head">
<Joint type="ballsocket" pin="0 1 0" limit1="20.0" limit2="10.0" />

</Bone>

</Bone>


</Bone>
</Bone>
</Bone>
</Bone>
</Bone>
</RagDoll>