btKinematicCharacterController and ghost objects

toastie
Posts: 8
Joined: Tue Jun 17, 2008 10:00 pm

btKinematicCharacterController and ghost objects

Post by toastie »

Hello,

I have a btKinematicCharacterController and a btGhostObject that I am trying to use to detect when the character enters an area. However, the btGhostObject seems to automatically process collisions with the character and it can't enter the btGhostObject area (unless they are in different groups, which I assume makes it so that the collisions don't get registered at all). I am setting the collision flags of the ghost object to btCollisionObject::CF_NO_CONTACT_RESPONSE. This makes it so it doesn't collide with other rigid bodies automatically, but the character controller behaves differently. Is there a way to make a character controller go through a ghost object, but let me know of the collisions (preferably in the standard world manifolds)?
toastie
Posts: 8
Joined: Tue Jun 17, 2008 10:00 pm

Re: btKinematicCharacterController and ghost objects

Post by toastie »

Anyone? I'm having a really hard time figuring this out. :(
OcelotV
Posts: 3
Joined: Sun Feb 14, 2010 3:09 pm
Location: Cracow, Poland

Re: btKinematicCharacterController and ghost objects

Post by OcelotV »