saejox
06-12-2011 19:59:34
Hi,
I want my characters to pass through each other.
now i do;
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
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