What effect does "wake" have in b2Body::ApplyLinearImpulse?

Viewed 3827

I am using Box2d v2.3 The following box2d method takes a bool "wake" :

inline void b2Body::ApplyLinearImpulse(const b2Vec2& impulse, const b2Vec2& point, bool wake)

What does it do? Regardless of whether I set it to YES or NO, it doesn't seem to noticeable impact my physics.

Earlier versions of Box2d did not accept the bool - they only took impulse and point.

EDIT: Likewise so does the following method:

inline void b2Body::ApplyForce(const b2Vec2& force, const b2Vec2& point, bool wake)
2 Answers
Related