-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] add agent_radius to aabb obstacles #51
Conversation
@mockersf here I did a bit of a test, with the primitives, and added controls to the demo, and it seems to work fairly well. If you think it's ok I'll continue with the other ones |
@@ -152,7 +149,7 @@ impl ObstacleSource for PrimitiveObstacle { | |||
copypasta::arc_2d_inner( | |||
0.0, | |||
std::f64::consts::PI, | |||
primitive.radius, | |||
primitive.radius + agent_radius, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here I'm unsure if we need to add it to both calculation in the Capsule
Just pushed support for avian3d, but is pretty slow. I'm trying to add |
Looks good, thanks! For primitives, could you check for On my laptop the |
I added agent radius on the navmesh in #59 |
Thanks, sorry for not been able to fllow up on this, |
no worries! I've been poked by someone else to do the second idea I spoke about in #50, and turns out it was easier that I thought! Thanks for looking into it |
Testing
agent_radius
Related to #50