mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-09 20:08:57 +03:00
Now taking into account navmesh volume position
This commit is contained in:
@@ -368,7 +368,9 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
NavManager::Get().BuildNavMesh(RecastConfig(component));
|
||||
auto recastConfig = RecastConfig(component);
|
||||
recastConfig.Position = volumeTransformComponent.GetGlobalPosition();
|
||||
NavManager::Get().BuildNavMesh(std::move(recastConfig));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user