feat: enemy and player units are now each in their own avoidance layers
This commit is contained in:
parent
d20da67bea
commit
d7441eade9
|
@ -46,9 +46,8 @@ path_desired_distance = 0.5
|
|||
target_desired_distance = 0.2
|
||||
path_height_offset = 0.5
|
||||
avoidance_enabled = true
|
||||
radius = 0.75
|
||||
time_horizon_agents = 4.0
|
||||
time_horizon_obstacles = 4.0
|
||||
avoidance_layers = 2
|
||||
avoidance_mask = 3
|
||||
debug_enabled = true
|
||||
debug_path_custom_color = Color(0, 0.588235, 0.270588, 1)
|
||||
|
||||
|
|
|
@ -39,9 +39,8 @@ path_desired_distance = 0.2
|
|||
target_desired_distance = 0.5
|
||||
path_height_offset = 0.5
|
||||
avoidance_enabled = true
|
||||
radius = 0.75
|
||||
time_horizon_agents = 4.0
|
||||
time_horizon_obstacles = 4.0
|
||||
avoidance_layers = 4
|
||||
avoidance_mask = 5
|
||||
debug_enabled = true
|
||||
debug_path_custom_point_size = 7.0
|
||||
|
||||
|
|
|
@ -93,3 +93,6 @@ DEBUG_toggle_debug={
|
|||
3d_physics/layer_1="Default"
|
||||
3d_physics/layer_2="Units"
|
||||
3d_physics/layer_3="Objects"
|
||||
avoidance/layer_1="Objects"
|
||||
avoidance/layer_2="Enemy Units"
|
||||
avoidance/layer_3="Player Units"
|
||||
|
|
Loading…
Reference in a new issue