Detecting collisions with static objects

Jonan
Posts: 10
Joined: Mon Oct 27, 2008 9:31 am

Detecting collisions with static objects

Post by Jonan »

I have a scene with a btKinematicCharacterController, a static plane and a few dynamic boxes and I'm trying to detect when the character's ghost object is colliding. I've supposed there's a collision if the number of overlapping pairs is greater than 1, but this only detects the collision with the dynamic boxes, not with the plain.
There's a video showing this: http://www.youtube.com/watch?v=0CJg8NhJhKk

What am I doing wrong?
Thanks