Sign in to follow this  
Followers 0
lucky6969b

Recast/Detour question

1 post in this topic

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
0

Share this post


Link to post
Share on other sites

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.

1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0