Skip to content
New issue

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

Wakeup a body if a force is applied to it #61

Merged
merged 1 commit into from Dec 24, 2020

Conversation

marcofugaro
Copy link
Member

Related to #56

Also in other engines, if a force is applied to a sleeping body, it wakes up.

I also fixed the JSDoc comments and made the second parameter of applyForce and applyImpulse optional.

@marcofugaro marcofugaro merged commit 286d756 into master Dec 24, 2020
@marcofugaro marcofugaro deleted the wakeup-force-impulse branch December 24, 2020 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant