Search found 2 matches

by sjcomp
Thu Apr 29, 2010 12:21 am
Forum: General Bullet Physics Support and Feedback
Topic: Collision masks
Replies: 1
Views: 1931

Collision masks

Hello, I have ships and bullets. Ships collide with bullets and with each other. I do not want bullets to collide with other bullets. So I have three collision masks: enum ECollisionTypes { NO_COLLISION = 0, SHIP_COLLISION = 1 << 1, BULLET_COLLISION = 1 << 2, }; I create my ships and bullets with th...
by sjcomp
Wed Apr 28, 2010 6:30 am
Forum: General Bullet Physics Support and Feedback
Topic: How to use convexSweepTest
Replies: 0
Views: 918

How to use convexSweepTest

Hello, I am new to Bullet and I am trying to understand how to use convexSweepTest. I want to catch collisions for fast moving objects. I took CollisionInterfaceDemo, and made the second object move very fast. CollisionInterfaceDemo uses performDiscreteCollisionDetection, which does not work for thi...