box2d icon indicating copy to clipboard operation
box2d copied to clipboard

Calling B2Body::SetLinearVelocity / SetAngularVelocity should awaken body

Open kmgb opened this issue 4 years ago • 0 comments

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.

kmgb avatar May 17 '20 16:05 kmgb