Closed isaac-mason closed 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/7nLxAPVvpkmcZH1Eb5TX89Z8eefT
✅ Preview: https://use-cannon-git-fork-isaac-mason-feature-cannon-wo-aedab0-pmndrs.vercel.app
TODO
Change
@pmndrs/cannon-worker-api
body types to useshape
instead ofargs
- Have
@react-three/cannon
shapes useargs
for backwards compatibility- Avoiding using
args
in@pmndrs/cannon-worker-api
as it is a r3f pattern- Only re-export types from
@pmndrs/cannon-worker-api
in@react-three/cannon
Let's start with getting @pmndrs/cannon-worker-api
released before we start iterating on the API.
Okay sounds good. I'll just move a couple more types around then will mark the PR as ready.
Cool, let me publish the package.
@pmndrs/cannon-worker-api
package@pmndrs/cannon-worker-api
package@react-three/cannon
to use@pmndrs/cannon-worker-api