Documentation about Collision Masks confuses a little

cbuchner1
Posts: 17
Joined: Fri Apr 10, 2009 6:44 pm

Documentation about Collision Masks confuses a little

Post by cbuchner1 »

The documentation under "Filtering collisions using masks" contains a deprecated call to mWorld->addRigidBody that takes 3 arguments, which is not supported by the btDynamicsWorld base class.

http://bulletphysics.com/Bullet/BulletP ... c223854848

I just ran into this because I wanted to use collision masks and tried to follow the example code given here, but I only had a pointer to btDynamicsWorld available.

Is there any reason the overload supporting collision masks is only provided by its subclass the btDiscreteDynamicsWorld?