diff --git a/Engine.Physics2D/Collider2DShapeBehaviour.cs b/Engine.Physics2D/Collider2DShapeBehaviour.cs index a4d993d..a658b14 100644 --- a/Engine.Physics2D/Collider2DShapeBehaviour.cs +++ b/Engine.Physics2D/Collider2DShapeBehaviour.cs @@ -8,7 +8,7 @@ public class Collider2DShapeBehaviour : Collider2DBehaviourBase, IShapeCollider2 public Shape ShapeWorld { get => _shapeWorld; protected set => _shapeWorld = value; } public Shape ShapeLocal { get; set; } = Shape.Box; - private Shape _shapeWorld = Shape.Box; + private Shape _shapeWorld = Shape.Box.CreateCopy(); public override void CalculateCollider() => Transform.TransformShape(ShapeLocal, ref _shapeWorld);