Hello,
btDynamicsWorld has only one version of :
virtual void addRigidBody(btRigidBody* body) = 0;
Whereas btDiscreteDynamicsWorld and btDiscreteDynamicsWorld have two :
virtual void addRigidBody(btRigidBody* body);
virtual void addRigidBody(btRigidBody* body, short group, short mask);
Maybe the second one could be added to btDynamicsWorld ?
It is even already declared virtual in btDiscreteDynamicsWorld (and
btDiscreteDynamicsWorld).
Moreover the wiki entry about filtering masks, see
http://bulletphysics.org/mediawiki-1.5.8/index.php/Collision_Filtering#Filtering
_collisions_using_masks , seems to believe this overload already exists in
btDynamicsWorld.
Thanks,
MAT.
Original issue reported on code.google.com by m.champ...@free.fr on 14 Dec 2010 at 9:18
Original issue reported on code.google.com by
m.champ...@free.fr
on 14 Dec 2010 at 9:18