phy.add({ type:'contact', b1:obj1.name, b2:'obj2.name, callback: someCallback })
In Havok someCallback is called for all collisions involving obj1, not just those involving obj2 but arg.hit is always false.
Phsyx works as expected
Rapier, seems to always have arg.hit == true
Also, including all details of the contact in the collision callback argument is probably needed in most real world uses - body1, body2, position, velocity etc
phy.add({ type:'contact', b1:obj1.name, b2:'obj2.name, callback: someCallback })
In Havok someCallback is called for all collisions involving obj1, not just those involving obj2 but arg.hit is always false.
Phsyx works as expected
Rapier, seems to always have arg.hit == true
Also, including all details of the contact in the collision callback argument is probably needed in most real world uses - body1, body2, position, velocity etc