I need to work with b2ContactListener::Result() in TestBed and made small modifications to it to add support for this. I think it can be put into svn so that others can also use it.
Modifications were made to latest Box2d revision (174). I've added two new member variables to Test class:
And added the code to fill them. (See attached files)
Modifications were made to latest Box2d revision (174). I've added two new member variables to Test class:
Code:
b2ContactResult m_contactResults[k_maxContactPoints];
int32 m_contactResultCount;
int32 m_contactResultCount;
And added the code to fill them. (See attached files)