mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 15:14:35 +00:00
final cleanup and fixes
move the geo collection into each tile, seems to work better for large levels add true to getnav in aiconver so it overwrites all goals cache the triareas so we can use a tool later to modify them
This commit is contained in:
parent
dc74f63d85
commit
bad9d9b188
3 changed files with 40 additions and 37 deletions
|
|
@ -80,7 +80,7 @@ bool AIController::findCover(const Point3F& from, F32 radius)
|
|||
if (s.point)
|
||||
{
|
||||
// Calling setPathDestination clears cover...
|
||||
bool foundPath = getNav()->setPathDestination(s.point->getPosition());
|
||||
bool foundPath = getNav()->setPathDestination(s.point->getPosition(), true);
|
||||
setCover(s.point);
|
||||
s.point->setOccupied(true);
|
||||
return foundPath;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue