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

Calling B2Body::SetLinearVelocity / SetAngularVelocity should awaken body #23

Open
kmgb opened this issue May 17, 2020 · 0 comments
Open

Comments

@kmgb
Copy link

kmgb commented May 17, 2020

Based on the current b2d source here: https://github.com/erincatto/box2d/blob/master/include/box2d/b2_body.h#L507

Currently, calling the SetLinearVelocity and SetAngularVelocity doesn't cause the body to move until it is awakened somehow. Bodies should wake up when either two functions are called.

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

No branches or pull requests

1 participant