Skip to content
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

Fix NavigationObstacle not estimating radius #66585

Merged
merged 1 commit into from
Sep 29, 2022

Conversation

timothyqiu
Copy link
Member

In 3.5.1 (3.x), NavigationObstacle always use its radius property even when estimate_radius is on.

In estimate_agent_radius(), the returned radius variable is the member variable because the actual estimated radius variable is out of scope.

2D version is OK.

@timothyqiu timothyqiu added bug topic:navigation cherrypick:3.5 Considered for cherry-picking into a future 3.5.x release labels Sep 29, 2022
@timothyqiu timothyqiu added this to the 3.x milestone Sep 29, 2022
@timothyqiu timothyqiu requested a review from a team as a code owner September 29, 2022 06:45
@akien-mga akien-mga modified the milestones: 3.x, 3.6 Sep 29, 2022
@akien-mga akien-mga merged commit 0d38825 into godotengine:3.x Sep 29, 2022
@akien-mga
Copy link
Member

Thanks!

@timothyqiu timothyqiu deleted the navobs-radius branch September 29, 2022 07:41
@timothyqiu
Copy link
Member Author

Cherry-picked for 3.5.2

@timothyqiu timothyqiu removed the cherrypick:3.5 Considered for cherry-picking into a future 3.5.x release label Dec 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants