diff --git a/Engine.Physics2D/Collider2DShapeBehaviour.cs b/Engine.Physics2D/Collider2DShapeBehaviour.cs index 2ba213e..34d17ea 100644 --- a/Engine.Physics2D/Collider2DShapeBehaviour.cs +++ b/Engine.Physics2D/Collider2DShapeBehaviour.cs @@ -15,7 +15,7 @@ public class Collider2DShapeBehaviour : Collider2DBehaviourBase, IShapeCollider2 } } - private Shape2D _shapeWorld = Shape2D.Square.CreateCopy(); + private Shape2D _shapeWorld = Shape2D.Square; private Shape2D _shapeLocal = Shape2D.Square; public override void CalculateCollider() => ShapeLocal.Transform(Transform, _shapeWorld);