In my game, I want all enemy units to be able to move through 1x1 squares or larger, these squares being surrounded by towers. I also don't want them to be able to move through the small space in between two towers that are placed diagonally from each other. I set the Inner Radius to the max and they can still squeak by that small space. What is the best way to allow them to ONLY move through 1x1 spaces? I tried setting the Pathing Footprint to 1x1 but it just makes them get stuck when they spawn. Radius (not inner radius) seems to help, but if I set it to high they don't fit through anything, and if I set it lower they fit fine but they are too close too each other visually (pretty much on top of each other). Any help is appreciated, thanks.
and if I set it lower they fit fine but they are too close too each other visually (pretty much on top of each other).
Set the radius to 0.5 and they will fit EXACTLY through a 1x1 gap. Large units like siege tanks and archons are still going to bunch up because their models are larger than 0.5 so without downscaling there's no way they could fit through while having a collision radius corresponding to the size of their model.
Set the radius to 0.5 and they will fit EXACTLY through a 1x1 gap. Large units like siege tanks and archons are still going to bunch up because their models are larger than 0.5 so without downscaling there's no way they could fit through while having a collision radius corresponding to the size of their model.
The scale of a model and its collision radius are independent - you can have things with very large models that don't bunch up like you mentioned. You can change radius both on a unit and on a model.
In my game, I want all enemy units to be able to move through 1x1 squares or larger, these squares being surrounded by towers. I also don't want them to be able to move through the small space in between two towers that are placed diagonally from each other. I set the Inner Radius to the max and they can still squeak by that small space. What is the best way to allow them to ONLY move through 1x1 spaces? I tried setting the Pathing Footprint to 1x1 but it just makes them get stuck when they spawn. Radius (not inner radius) seems to help, but if I set it to high they don't fit through anything, and if I set it lower they fit fine but they are too close too each other visually (pretty much on top of each other). Any help is appreciated, thanks.
Set the radius to 0.5 and they will fit EXACTLY through a 1x1 gap. Large units like siege tanks and archons are still going to bunch up because their models are larger than 0.5 so without downscaling there's no way they could fit through while having a collision radius corresponding to the size of their model.
The scale of a model and its collision radius are independent - you can have things with very large models that don't bunch up like you mentioned. You can change radius both on a unit and on a model.
Yes but they wont fit through a 1x1 gap, did you actually read the thread?
@RileyStarcraft: Go
Okay cool thanks - I guess I should have made a slightly downscaled map but it's not a huge deal. Thanks a lot!!!!