0

[Beginner] How limit the AI movement range

enes y 4 months ago updated by Nikita 4 months ago 1
Sup guys,
im new to unity and curious about how to set up the max range for my AI -
Like he shouldnt be able to move around the map completely freely

He should be able to chase but kinda return the the fixed area afterwards but idk how to setup the fixed max-range-moveable area for the mobs


Bolt Version:
Unity Version:
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):

i dont know your game situation /probably as variant check with scr magnitude?  if more then number return to start position - it can be stored when ai start to chase, so it will return to that place