Skip to content

v6.1.0

Compare
Choose a tag to compare
@Prozi Prozi released this 03 Jul 04:52
· 335 commits to master since this release

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 to RBush tree if its real BBox doesnt move outside BBox + padding.

see: https://github.com/Prozi/detect-collisions/blob/master/src/system.ts#L69-L78