mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-11-22 00:48:09 +01:00
Backported from godot4: Disable NavigationMesh edge_max_length property by default
Disables NavigationMesh edge_max_length property by default.
- smix8
c63125c317
This commit is contained in:
parent
71fef953da
commit
e6e30d2f27
@ -117,8 +117,8 @@
|
||||
<member name="edge_max_error" type="float" setter="set_edge_max_error" getter="get_edge_max_error" default="1.3">
|
||||
The maximum distance a simplfied contour's border edges should deviate the original raw contour.
|
||||
</member>
|
||||
<member name="edge_max_length" type="float" setter="set_edge_max_length" getter="get_edge_max_length" default="12.0">
|
||||
The maximum allowed length for contour edges along the border of the mesh.
|
||||
<member name="edge_max_length" type="float" setter="set_edge_max_length" getter="get_edge_max_length" default="0.0">
|
||||
The maximum allowed length for contour edges along the border of the mesh. A value of [code]0.0[/code] disables this feature.
|
||||
[b]Note:[/b] While baking, this value will be rounded up to the nearest multiple of [member cell_size].
|
||||
</member>
|
||||
<member name="filter_baking_aabb" type="AABB" setter="set_filter_baking_aabb" getter="get_filter_baking_aabb" default="AABB( 0, 0, 0, 0, 0, 0 )">
|
||||
|
@ -649,7 +649,7 @@ NavigationMesh::NavigationMesh() {
|
||||
agent_max_slope = 45.0f;
|
||||
region_min_size = 2.0f;
|
||||
region_merge_size = 20.0f;
|
||||
edge_max_length = 12.0f;
|
||||
edge_max_length = 0.0f;
|
||||
edge_max_error = 1.3f;
|
||||
verts_per_poly = 6.0f;
|
||||
detail_sample_distance = 6.0f;
|
||||
|
Loading…
Reference in New Issue
Block a user