Recast/Detour question

Started by
0 comments, last by AgentC 9 years, 10 months ago

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

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.

This topic is closed to new replies.

Advertisement