I inherited from
btCollisionWorld::ContactResultCallback but I really have no idea how to use this virtual function:
btScalar addSingleResult(btManifoldPoint& cp, const btCollisionObjectWrapper* colObj0Wrap, int partId0, int index0, const btCollisionObjectWrapper* colObj1Wrap, int partId1, int index1)
I thought about using
btCollisionWorld::ConvexResultCallback instead but there is no method in btCollisionWorld to use it.
For now my only goal is to move a btCollisionObject around and detect collision with walls, to adjust the position and movement.
I would just need the collision normal, some collision point, or anything else...