0
votes

Is there any way in Box2D to get the impulse of a collision without registering a contact listener?

Ie, I can get a list of all contacts for a body using GetContactList() and contact->GetManifold()->localNorm, but this returns a unit vector.

I couldn't seem to find any way of getting the impulse information from the b2Contact class.

1

1 Answers

0
votes

No, there may be more than one impulse per time step. Use a listener.