Collider isn't moved to the position of the main limb when frozen, limb collisions are temporarily disabled if the ragdoll is too far from the collider, some cleanup
This commit is contained in:
@@ -341,8 +341,6 @@ namespace Barotrauma
|
||||
}
|
||||
|
||||
body.SetTransform(targetPosition, targetRotation == 0.0f ? body.Rotation : targetRotation);
|
||||
//body.LinearVelocity = targetVelocity;
|
||||
//body.AngularVelocity = targetAngularVelocity;
|
||||
targetPosition = Vector2.Zero;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user