Age | Commit message (Collapse) | Author |
|
Exposes the path postprocessing and pathfinding algorithm options of the NavigationAgent internal NavigationPathQueryParameters object.
(cherry picked from commit 6e324bb341c795905085e25e7f7c153d89949fa9)
|
|
Fixes duplicated points in NavigationAgent3D debug path.
(cherry picked from commit 0b8798a9950ca7a86b1b2e20f69f22ba4396d55a)
|
|
Tweaks default values for NavigationAgent3D to work better out of the box within a new 3D project.
|
|
Adds helper functions to set the links start and end position with global positions or get them as global positions.
Adds global start and end position for the navigation link to the 'link_reached' signal of NavigationAgent. That signal gets emitted when a navigation link waypoint is reached. Requires that 'owner' meta data is enabled on the NavigationAgent.
|
|
|
|
Fix missing avoidance updates when using same velocity
|
|
When using avoidance, if you set the same velocity for the agent, you won't get an update from the avoidance system.
This changes both the `set_target_position` and `set_velocity` setters to always accept user provided values, even if they are the same. This ensures that repathing and avoidance logic is always run when the user expects.
|
|
Fixes that certain NavigationAgent debug functions bindings were not available in release builds.
|
|
|
|
|
|
Adds path debug visuals for NavigationAgent2D, NavigationAgent3D and NavigationServer.
|
|
|
|
Contrary to the entire rest of the engine NavigationAgent's and NavigationLinks decided to deal with locations instead of positions.
|
|
As many open source projects have started doing it, we're removing the
current year from the copyright notice, so that we don't need to bump
it every year.
It seems like only the first year of publication is technically
relevant for copyright notices, and even that seems to be something
that many companies stopped listing altogether (in a version controlled
codebase, the commits are a much better source of date of publication
than a hardcoded copyright statement).
We also now list Godot Engine contributors first as we're collectively
the current maintainers of the project, and we clarify that the
"exclusive" copyright of the co-founders covers the timespan before
opensourcing (their further contributions are included as part of Godot
Engine contributors).
Also fixed "cf." Frenchism - it's meant as "refer to / see".
|
|
|
|
Stop NavigationAgents without a target from moving to world origin
|
|
|
|
Schema for navigation to name user facing API with "navigation" without abbreviation and e.g. NavigationServer internals with abbr "nav".
|
|
Fixes crash in sanitizer builds when callback agent or object are already freed.
|
|
Stops NavigationAgents moving to the world origin without anyone telling them to do so.
|
|
Make NavigationAgent `target_location` a property
|
|
|
|
|
|
This paves the way for having agents respond to link traversal.
|
|
|
|
NavigationAgent2D/3D.`neighbor_dist` -> `neighbor_distance` (also affects setters and getters)
NavigationServer2D/3D.`agent_set_neighbor_dist()` -> `agent_set_neighbor_distance()`
Also changes their parameters' names.
Doesn't affect "Agent.neighborDist_" in Agent.h
|
|
Groups the ill-defined NavigationAgent properties between pathfinding and avoidance to make it more clear which property affects what.
|
|
|
|
Adds helper functions to work with the navigation layer bitmask.
|
|
Add NavigationAgent desired path distance
|
|
Streamline Navigation layer function names.
|
|
Add NavigationAgent set_navigation_map() and get_navigation_map() function.
|
|
Fix NavigationAgent reparent issues
|
|
Changes NavigationAgent avoidance callback to a toggle that is disabled by default.
Also fixes a few missing descriptions / wrong warnings.
|
|
|
|
Temporarily removes agent from navigation map when parent node cannot process due to SceneTree pause and process_mode property. Normal process_mode does not work as other agents would still avoid the paused agents because they were still active on the navigation map and the rvo world. Also fixes potential crash when region_get_map or agent_get_map is called while no map is set.
|
|
|
|
This ensures we don't use TTR in runtime code, as it's specifically meant
to source translations for the editor.
|
|
|
|
|
|
Happy new year to the wonderful Godot community!
|
|
|
|
|
|
* Added a new macro SNAME() that constructs and caches a local stringname.
* Subsequent usages use the cached version.
* Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time.
* Replaced all theme usages by this new macro.
* Replace all signal emission usages by this new macro.
* Replace all call_deferred usages by this new macro.
This is part of ongoing work to optimize GUI and the editor.
|
|
Fix NavigationAgent3D not emitting "target_reached" Signal when reaching pathfinding target.
|
|
Fix broken NavigationAgent3D collision avoidance callback
|
|
Previously, the warnings were passed as a string and delimitation of which were hard coded at each implementation.
|
|
|
|
Happy new year to the wonderful Godot community!
2020 has been a tough year for most of us personally, but a good year for
Godot development nonetheless with a huge amount of work done towards Godot
4.0 and great improvements backported to the long-lived 3.2 branch.
We've had close to 400 contributors to engine code this year, authoring near
7,000 commit! (And that's only for the `master` branch and for the engine code,
there's a lot more when counting docs, demos and other first-party repos.)
Here's to a great year 2021 for all Godot users 🎆
|
|
|