• Advertisement
Sign in to follow this  

Recast/Detour question

This topic is 1316 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello, I am intending to use recast/detour as the pathfinding engine. However, when I have a large long object such as a Cargo Truck, and as recast uses a disk as the bounding box, it will not hug the cargo truck very well, and the collision testing will not be good. I am wondering has recast got a bounding box as the collision testing mechanism. I have asked this in recast forum, but hasn't got replied yet.

Hope someone here knows and I can get a quicker answer here.

Thanks a lot. Cheers

Jack

Edited by lucky6969b

Share this post


Link to post
Share on other sites
Advertisement

From what I understand, the Recast/Detour navigation data is always built for a certain size of a moving agent, which is approximated by the capsule parameters (radius, height) in the rcConfig structure. So if you use the navigation data for vehicles, you need to set the radius & height to accomodate the biggest vehicle you have, or build multiple datas for different size agents.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement