In the demo is possible to pick the ragdolls and move with the mouse, but how can I do to avoid the ragdolls pass over the objects when they collide?.
Thanks in advance.
mhhh… to be honest, I don't understand your post :) (btw. sorry for deleting your old post in the discussion forum on codeplex, we had to close that forum)
What do you mean with avoiding that ragdolls passes over objects? Is it a bug or do you want special behavior? Iam not a native english speaker therfore I probably misunderstood you.
I think Wesley is right.
If you're using Body.MoveTo() then I believe it will skip any collisions that might normally occur between its last position and its new position. The trick is to get the difference in position between your start and finish and apply it as a world force to whatever part of the ragdoll you grabbed. If you want to soften the transition, do this each frame but divide the resulting vector3. Don't forget to factor in the body's mass.
I do this in my network code to smoothly move remotely controlled vehicles to the latest accurate data from the other client:
Vector3 NewPosition = Incoming.Position;
Vector3 OldPosition = Body.Position;
Vector3 WorldForce = ((NewPosition - OldPosition) * Body.Mass) / 5f;
Then add your world force using a controller.