Ghost object bounding box

HTAPAWASO
Posts: 1
Joined: Tue Jul 16, 2013 9:55 pm

Ghost object bounding box

Post by HTAPAWASO »

Hi,

I'm trying to implement a character controller in my Ogre game. I have a ghost object on my player which works fine, the problem is that when I call getNumOverlappingObjects() it includes everything which has a bounding box overlapping the ghost object.

This means that my terrain is considered as colliding essentially all the time. Is there a way to get a more accurate collision count from the ghost object?

Thanks, and sorry if this is an obvious question.