v6.1.0
implemented padding
as one of Body
creating options
defaults to 0
- when specified, the body will get a slightly bigger
BBox
, and - the
Body
will not be removed and reinserted toRBush
tree if its realBBox
doesnt move outsideBBox + padding
.
see: https://github.com/Prozi/detect-collisions/blob/master/src/system.ts#L69-L78