We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, and thanks for great libs !
Bodies falls asleep ( when <Physics allowSleep={true}> ), but after, won't move with applyImpulse/Force, wakeUp() needs to exposed: https://github.com/pmndrs/cannon-es/blob/eb222d1169195dd0b570d1aaa749a814bacd747a/src/objects/Body.ts#L261
<Physics allowSleep={true}>
Also, cannons world.hasActiveBodies is used to invalidateFrameloop in react-three-fiber:
world.hasActiveBodies
use-cannon/src/Provider.tsx
Line 151 in 0243fb3
<Physics...>
Maybe with an iteration few more methods/props would be straight available.
The text was updated successfully, but these errors were encountered:
i also ran into this issue, would be nice to have this feature
Sorry, something went wrong.
Should be closed by pmndrs/cannon-es#61
Successfully merging a pull request may close this issue.
Hi, and thanks for great libs !
Bodies falls asleep ( when
<Physics allowSleep={true}>
), but after, won't move with applyImpulse/Force, wakeUp() needs to exposed:https://github.com/pmndrs/cannon-es/blob/eb222d1169195dd0b570d1aaa749a814bacd747a/src/objects/Body.ts#L261
Also, cannons
world.hasActiveBodies
is used to invalidateFrameloop in react-three-fiber:use-cannon/src/Provider.tsx
Line 151 in 0243fb3
and can be exposed in useCannon's Provider (
<Physics...>
) to track bodies state.Maybe with an iteration few more methods/props would be straight available.
The text was updated successfully, but these errors were encountered: