Camera Collision using Navmesh

Hi

Since Navmesh is now merged to the trunk in some unofficial 2.59 releases, I played around with it. I figured out how to use Navmesh for basic camera collision, but I’m having problems with detecting objects that do not touch the ground. I can’t figure out how I can avoid such objects.

My current state is attached.

Does anyone know a solution?

Attachments

NAVMESH_TEST.blend (533 KB)

I just found the problem. I forgot to turn on the obstacle simulation in the world tab. Also changed the Navmesh. But still the camera flies through the cube in the air sometimes. Am I doing something wrong? Is there a way to improve the obstacle simulation (btw. which mode is better, rays or cells?)?

Attachments

NAVMESH_CameraCollision.blend (580 KB)