mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add pathfinding.set_avoided_tags
This commit is contained in:
parent
5204cfedf5
commit
5e3373313b
7 changed files with 46 additions and 12 deletions
|
|
@ -6,6 +6,7 @@ local tsf = entity.transform
|
|||
|
||||
agent = pathfinding.create_agent()
|
||||
pathfinding.set_max_visited(agent, 1e4)
|
||||
pathfinding.set_avoided_tags(agent, {"core:liquid"})
|
||||
|
||||
function set_target(new_target)
|
||||
target = new_target
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue