Introduction
Angular Three Cannon is an integration of the Cannon.js physics engine for use with Angular Three.
This implementation is based on the @react-three/cannon library.
- Doesn’t block the main thread, runs in a web worker
- Supports all the features of cannon-es
Examples are available at angular-three-cannon
Installation
Compatibility Matrix
Angular Three Cannon Version | cannon-es version | @pmndrs/cannon-worker-api version |
---|---|---|
2.0.0 | ^0.20.0 | ^1.0.0 |