Collision modes

Started by brainmaster, April 22, 2007, 01:50:44 AM

Previous topic - Next topic

brainmaster

Hello. I can get my collision checks to work when the source object mode is only ...SELF and the target is only ...OTHER. Why can't setting the mode to (...SELF&...OTHER) for the objects work?

EgonOlsen

You have to OR the modes, i.e. do a Object3D.setCollisionMode(COLLISION_CHECK_OTHERS|COLLISION_CHECK_SELF);

brainmaster

Opps, sorry. My careless mistake. Thanks.