|
Nebula
|
#include "core/refcounted.h"#include "core/singleton.h"#include "game/manager.h"#include "game/world.h"#include "math/point.h"#include "navigationfeature/streamnavmeshcache.h"#include "threading/event.h"Go to the source code of this file.
Classes | |
| class | NavigationFeature::AgentManager |
| Moves the entities with a NavAgent component over the navmeshes of the level. More... | |
Namespaces | |
| namespace | NavigationFeature |
| Queries on a loaded navmesh. | |
Functions | |
| bool | NavigationFeature::SetMoveTarget (Game::World *world, Game::Entity entity, const Math::point &target) |
| walk to a target. Returns false if the entity has no NavAgent | |
| void | NavigationFeature::StopMoving (Game::World *world, Game::Entity entity) |
| stop where the agent is | |
| MoveState | NavigationFeature::GetMoveState (Game::World *world, Game::Entity entity) |
| what the agent is doing, Idle if the entity has no NavAgent | |
| Math::vec3 | NavigationFeature::GetAgentVelocity (Game::World *world, Game::Entity entity) |
| the velocity the crowd moves the agent with, zero if it isn't moving | |
| Util::Array< Math::point > | NavigationFeature::GetAgentCorners (Game::World *world, Game::Entity entity) |
| the corners of the path ahead of the agent, the next few the crowd steers by | |
| void | NavigationFeature::DrawAgents () |
| draw the agents, their targets and the corners ahead of them | |