Skip to content

v6.8.1

Compare
Choose a tag to compare
@Prozi Prozi released this 14 Feb 20:52
· 157 commits to master since this release

Relates-to: #45, #48

this version has hopefully fixed concave aInB and bInA by introducing a lot of math

preview (move your cursor)
https://codesandbox.io/s/detect-collisions-test3-forked-26nijj?file=/src/App.tsx

also in upcoming 7.0.0 version I think about such breaking changes:

renaming some types:

  • Types -> BodyType
  • Collider -> BodyProps
  • RaycastResult -> RaycastHit | null
  • CollisionState -> State

changing the parameter of BodyOptions

  • BodyOptions.center -> BodyOptions.isCentered

and messing with scale (remove setScale and replace with scale setter getter with vector params)

tell me what you think if you have strong objections to above, I think they will only improve the library