diff --git a/tslib/physics2ddevice.ts b/tslib/physics2ddevice.ts index 504756cf..d8e0f081 100644 --- a/tslib/physics2ddevice.ts +++ b/tslib/physics2ddevice.ts @@ -10142,7 +10142,7 @@ class Physics2DWorld callback.minFactor = ray.maxFactor; callback.userCallback = customCallback; callback.userThis = thisObject; - // TODO bug here. + callback.minShape = null; this.broadphase.sample(rect, callback.sample, callback); if (callback.minShape)