GoblinPhysics icon indicating copy to clipboard operation
GoblinPhysics copied to clipboard

Error occurs: CompoundShape RigidBody collides with the MeshShape RigidBody

Open msykosch opened this issue 2 years ago • 0 comments

Hey, @chandlerprall.

I love your Goblin Physics ❤️

Unfortunately I identified a problem today (master and 0.10).

I created two Goblin.RigidBody:

  1. MeshShape()
  2. CompoundShape()

Both RigidBody are created correctly and run properly through world.step().

However, as soon as the CompoundShape RigidBody collides with the MeshShape RigidBody, an error occurs:

TypeError: contact.object_b.emit is not a function. (In 'contact.object_b.emit( ​​'speculativeContact', contact.object_a, contact )', 'contact.object_b.emit' is undefined)

Apparently there is a problem with MeshShape colliding with CompoundShape.

I ask you to help me. I would be happy to support you with a reasonable donation.

msykosch avatar May 26 '22 19:05 msykosch