Collision detection tests without simulation

dgm
Posts: 1
Joined: Sun Jun 03, 2007 9:30 pm

Collision detection tests without simulation

Post by dgm »

This is probably a dull question, but I can't find in the documentation. :oops:
Does Bullet have simple collision tests, like ray-sphere, cylinder-mesh etc, acessible without the need to create a "simulation", without callbacks, triggers and so on?
Thank you in advance.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Post by Erwin Coumans »

Yes, you can just use btCollisionWorld for that. If you are only interested in collision detection, you only need Bullet/src/BulletCollision and Bullet/src/LinearMath folder.

Just to clarify: when using dynamics, btDynamicsWorld is derived from btCollisionWorld class.