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:
@@ -475,7 +475,7 @@ namespace Barotrauma
|
||||
|
||||
public override Vector2 DrawPosition
|
||||
{
|
||||
get { return AnimController.Collider.DrawPosition; }
|
||||
get { return AnimController.MainLimb.body.DrawPosition; }
|
||||
}
|
||||
|
||||
public delegate void OnDeathHandler(Character character, CauseOfDeath causeOfDeath);
|
||||
|
||||
Reference in New Issue
Block a user