[SOLVED] Character Controller Collision

saejox

06-12-2011 19:59:34

Hi,

I want my characters to pass through each other.

now i do;

//for player:
desc.mCollisionMask = (Walls << 1);
mPC->getShape(0)->setGroup(Player);


//for NPCs;
desc.mCollisionMask = (Walls << 1);
mNPC->getShape(0)->setGroup(NPC);


ideally they should only collide with walls.

what am i doing wrong?

solution:

setInteractionFlag(NxOgre::Enums::CharacterControllerInteractionFlag_Exclude);

there are so many collision flags in physx. it is maddening

saejox

09-12-2011 02:27:20

Does anyone know how to disable collision between two AnimaterCharacters?
they bump each other and ruining my path finding algorithm