use-cannon

👋💣 physics based hooks for @react-three/fiber

cannon-js · physics · react · reactjs
中级
GitHub在线演示
Stars:2,918
License:未知
更新:2025/12/24

README

Build Status Discord Shield

Imgur

Monorepo for cannon-es web worker packages.

PackageDescription
@react-three/cannonReact hooks for cannon-es. Use this in combination with react-three-fiber.
@pmndrs/cannon-worker-apiWeb worker api for cannon-es. Used by @react-three/cannon.
@react-three/cannon-examplesExamples for @react-three/cannon

use-cannon Documentation

Please see the @react-three/cannon README documentation and getting started guide for using the react hooks and jsx interface.

Demos

Check out all of our @react-three/cannon examples at https://cannon.pmnd.rs

The code for the examples lives in ./packages/react-three-cannon-examples