pmndrs / use-cannon

👋💣 physics based hooks for @react-three/fiber
https://cannon.pmnd.rs
2.74k stars 153 forks source link

Add missing worker 'setMaterial' op handler #340

Closed isaac-mason closed 2 years ago

isaac-mason commented 2 years ago

e.g.

const [ref, api] = useBox(...)
api.material.set({ friction: 1 })
vercel[bot] commented 2 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/pmndrs/use-cannon/8i91DYfbpM6iNKCZVK7Xye8MAt2H
✅ Preview: https://use-cannon-git-fork-isaac-mason-feature-add-set-m-f47083-pmndrs.vercel.app