internal override void UpdateSweepRadius(Vec2 center) { // Update the sweep radius (maximum radius) as measured from // a local center point. Vec2 d = _localPosition - center; _sweepRadius = d.Length() + _radius - Settings.ToiSlop; }