Open krispya opened 2 years ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated |
---|---|---|---|
use-cannon | ✅ Ready (Inspect) | Visit Preview | Apr 18, 2022 at 2:58AM (UTC) |
I realized I was putting the type in the wrong place. I moved it to the hook and out of the worker.
Please resolve merge conflicts.
Also, this doesn't work because the scaleOverride is not being passed to useBody.
Makes it so you can specify
scaleOverride
in theuesBody
props. Since most use cases I have for this initialize the scale on mount and then don't touch it, this method ends up being more compact and also lets me use the same scale factor in the body easily. For example: