Mesh to mesh collision

Thank you all for your answers and proposals

@pspeed honestly, I don’t get your point :confused:

@fba I tried your approach and although it looks good, it’s giving me same collisions than my current method of using the smaller object bounding volume as parameter, let’s say always doing table.collideWith(bottle.getWorldBound())

@sgold I’ve tried the contactTest method but it’s returning 0 and the listener is not being called although there’s an obvious collision when having the collision shapes created as CollisionShapeFactory.createMeshShape (which in the end creates MeshCollisionShape objects). If I change it to CollisionShapeFactory.createDynamicMeshShape (which creates HullCollisionShape) it’s detected but again I’m losing resolution as the hull is bigger than the mesh. I’m using minie 4.0.2. Maybe mesh to mesh is implemented in a latter release?

1 Like