diff --git a/Nez-PCL/ECS/Components/Physics/BoxCollider.cs b/Nez-PCL/ECS/Components/Physics/BoxCollider.cs index 477a05881..b865d98fd 100644 --- a/Nez-PCL/ECS/Components/Physics/BoxCollider.cs +++ b/Nez-PCL/ECS/Components/Physics/BoxCollider.cs @@ -36,9 +36,7 @@ public BoxCollider() /// Height. public BoxCollider( float x, float y, float width, float height ) { - if( x != 0 || y != 0 ) - _localOffset = new Vector2( x + width / 2, y + height / 2 ); - + _localOffset = new Vector2( x + width / 2, y + height / 2 ); shape = new Box( width, height ); }