Closed krispya 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/F7kBHSEf7RUuCJTsGPNaNE6iHLFt
✅ Preview: https://use-cannon-git-fork-krispya-debug-instance-pmndrs.vercel.app
[Deployment for fa5a577 failed]
I cherry picked your initial commit, thanks for contributing!
This fixes https://github.com/pmndrs/use-cannon/issues/364. It adds an additional code path to the useFrame in DebugProvider for updating when the body is an InstancedMesh.