i've been playing around with the old ragdoll source by namzorg again and modified it so the collision detection isn't height based, now it's based on actual collisions...however... the little guy seems to have epilepsy attacks most of the time and his hat jumps around wildly too

if anyone could take a look at it and tell me how to fix this i'd greatly appreciate it

here's a demo:
http://ize.badne.ws/ragdoll/Ragdollv2mx.swf
mouse to drag the little guy
space + mousedistance = kick him
cursor left + right to change the scene

and here's the fla so you can take a look at it:
http://ize.badne.ws/ragdoll/Ragdollv2mx.fla