irresistible force wrote:
It sounds like you are using the contacts from the world's contact list...? If so make sure you check that the contact IsTouching(). Contacts in that list only mean that the AABBs of two fixtures are overlapping, but not necessarily that the fixtures themselves are also touching.
btw the more efficient way is to use a contact listener.
Thanks irresistible force!

that completely fixed it. I am not getting them from the world's contact list, but from the specific body's contact list. Is this ok?
Code:
ContactEdge ce = m_body.getContactList();
while ((ce != null))
{
if (ce.contact.isTouching())
{
if ((ce.contact.m_fixtureA.isSensor()) || (ce.contact.m_fixtureB.isSensor()))
m_bTouchingGround = true;
}
ce = ce.next;
}