Pre Collision check before adding to world best method?

phoenixknight88
Posts: 1
Joined: Thu Jul 28, 2011 12:11 pm

Pre Collision check before adding to world best method?

Post by phoenixknight88 »

Hi

I was wondering if someone could give me some advise. I am currently working on some automated AI navigation mesh generation tools. I am checking collision but never adding the shape to the world. I an currently using collisionTest to check it but it seems to be pretty slow. In the scene there is no moveable objects when this is getting run. Is collisionTest the best way to do it or is there a faster way.

Please not this is getting done a lot upwards of 10k times.

Thanks