-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
NavigationObstacle3D node not behaving as in earlier stable version 4.0.3 #83625
Comments
When is "before"? What version are you comparing to? |
Right. Before was in this case Godot 4.0.3 rc1 |
Does this behavior exist in a stable version, like 4.0.2 or 4.0.3 (or 4.0.4 or 4.1.2, which are supported versions), 4.0.3.rc1 is a development release and doesn't represent stable behavior |
It had been uniformely scaled from 1 to 2. Changing that transform change back to default still leaves the same issue. Nothing changed. |
This bug also persist if after opening "4.0.3 bug test" project in 4.2 you change radius of NavigationObstacle3D to 1 meter |
There is a bug with the NavigationObstacle3D That said the new avoidance introduced with 4.1 changed a lot so you might want to read up on that especially with the new documentation for NavigationAgents and NavigationObstacles. The biggest change is that the new avoidance by default used a real 2D avoidance now for all agents. The 3D avoidance still exists but is now a real 3D avoidance that expects movement in all directions, not limited to a flat plane. You can toggle between those two with the |
Ok. Thanks for the advice! I'll look up on that documentation. |
Closing as the two fix prs have been merged. |
4.2 beta 5 . I believe something may have broken again? I have tried changing heights and settings, but the NavigationObstacle3D is not avoided despite NavigationAgent3D avoidance enabled setting On. Edit: It is working, In my project I did not use the example scripts from the docs as I should have. Utilizing the scripts things work as expected. |
Godot version
4.2.beta2
System information
Godot v4.2.beta2 - Windows 10.0.22621 - Vulkan (Forward+) - integrated Intel(R) Iris(R) Xe Graphics (Intel Corporation; 30.0.100.9864) - 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz (8 Threads)
Issue description
2023-10-19.17-47-46.mp4
Steps to reproduce
Having a functional NavMesh and a testunit coded to move to mouse along a baked Navigation Mesh over a plane mesh with a trimesh static body created, as in the linked video.
Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered: