Yet another JBullet question for you experts out there:
I’m trying to figure out how best to manage collisions with game objects now. I thought I had it, but it looks like JBullet doesn’t support GhostObjects yet. I’m now trying to use Callbacks to properly flag my game objects as having “collided” with one another. Unfortunately, I haven’t been able to find any sample code that shows how to do this. Could someone please steer me in the right direction?
Are callbacks the best to use? Can I use callbacks to flag my game objects somehow? (Currently I store a reference to the RigidBody in each object)
Or should I loop through the manifold points each frame and try to figure out which point is related to each game objects? (yikes!)