thebluefish
Maybe it’s just been way too long since I’ve worked directly with Bullet, but I’m trying to wrap my head around:
github.com/urho3d/Urho3D/blob/m … d.cpp#L833
for (int j = 0; j < contactManifold->getNumContacts(); ++j)
{
btManifoldPoint& point = contactManifold->getContactPoint(j);
contacts_.WriteVector3(ToVector3(point.m_positionWorldOnB));
contacts_.WriteVector3(ToVector3(point.m_normalWorldOnB));
contacts_.WriteFloat(point.m_distance1);
contacts_.WriteFloat(point.m_appliedImpulse);
}
It seems to me that both NodeA and NodeB are receiving the same contact positions for NodeB. Shouldn’t NodeA receive m_positionWorldOnA and m_normalWorldOnA?