Skip to content

v2.2.0

Compare
Choose a tag to compare
@stockhuman stockhuman released this 10 Jun 16:05
· 195 commits to master since this release

Use-cannon 2.x is compatible with (and the cause of) react-three-fiber v7.

The integrated debugger has been improved and made optional and modular, integrate it into your scene and pass parameters as follows, where scale visually scales the physics mesh representation to better see it against your geometry.

<Physics>
  <Debug scale={1.1} color='black'>
    {/* children */}
  </Debug>
</Physics>

This release also includes more granular, detailed collision events! (#133)
See collideBegin and collideEnd events.
Thanks, @a-type