checkCollideWith isntcheckCollideWith
isn't for dynamic collisions, it is used to see if an object is set to collide with another, not to see if there's a collision.
alsoAlso, you can setUserPointersetUserPointer
in your rigidbodyrigidbody
to have a pointer to anything, may it be it your own class or not. with that, you can then check what is what-is-what when colliding by using getUserPointergetUserPointer
on the two btCollisionObjectsbtCollisionObjects
.