Handheld sonars only consume batteries when they're on, endworms aren't "flipped" when they turn around, every limb is checked in SubmarineBody.DisplaceCharacters (instead of just reflimb)
This commit is contained in:
@@ -313,7 +313,7 @@ namespace Barotrauma
|
||||
prevPosition = targetPosition;
|
||||
}
|
||||
|
||||
body.SetTransform(targetPosition, targetRotation);
|
||||
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