Advertisement

Multiple navmeshes and collision avoidance with Detour

Started by June 19, 2014 10:31 PM
0 comments, last by lucky6969b 10 years, 2 months ago

Hello,

In my simulation, I've generated many sets of navmeshes, designated for different radius sizes.

Say 1st object has navmesh a

2nd object has navmesh b

But...what should I be using for bounding volume?

In my simulation, there is a large cargo truck, which should be best suited with an OBB or an AABB.

A Bounding sphere or disc is suitable for a picker etc

Now can I use collision avoidance based on different navmeshes and different bounding volumes?

I think collision detection is less problematic, because we can test the bounding volumes in real time.

But collision avoidance is more difficult to do, AFAIK, Detour would place a temporary obstacles

where the agent stands, but the radius size of all agents has to be the same.

I've thought about it for a long time.

Would anyone not mind giving me some hints?

BTW, is collision avoidance usually used with pathfinding at the same time?

Thanks

Jack

http://www.ogre3d.org/tikiwiki/tiki-index.php?page=Oriented+Bounding+Box

Does anyone have any ideas on how to compare 2 OBBs for collisions to occur?

Because there were no such methods to compare the boundaries of 2 arbitrary OBBs.

Do I have to implement it myself? I've got no ideas on how to start using this class.

Any example code is to be good.

BTW, there are no samples on this which came with my Ogre SDK........strange.

Thanks

Jack

This topic is closed to new replies.

Advertisement