mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Add a note about navigation mesh baking issues when using 0 for the agent_radius
This commit is contained in:
@@ -172,6 +172,7 @@
|
||||
<members>
|
||||
<member name="agent_radius" type="float" setter="set_agent_radius" getter="get_agent_radius" default="10.0">
|
||||
The distance to erode/shrink the walkable surface when baking the navigation mesh.
|
||||
[b]Note:[/b] The radius must be equal or higher than [code]0.0[/code]. If the radius is [code]0.0[/code], it won't be possible to fix invalid outline overlaps and other precision errors during the baking process. As a result, some obstacles may be excluded incorrectly from the final navigation mesh, or may delete the navigation mesh's polygons.
|
||||
</member>
|
||||
<member name="baking_rect" type="Rect2" setter="set_baking_rect" getter="get_baking_rect" default="Rect2(0, 0, 0, 0)">
|
||||
If the baking [Rect2] has an area the navigation mesh baking will be restricted to its enclosing area.
|
||||
|
||||
Reference in New Issue
Block a user