mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 00:24:40 +00:00
go ahead and allow follow without needing a navmesh
This commit is contained in:
parent
a05ff4f351
commit
e489e0cd18
4 changed files with 63 additions and 53 deletions
|
|
@ -44,6 +44,10 @@ struct AINavigation
|
|||
|
||||
void onReachDestination();
|
||||
|
||||
void followObject();
|
||||
void followObject(SceneObject* obj, F32 radius);
|
||||
void clearFollow();
|
||||
|
||||
#ifdef TORQUE_NAVIGATION_ENABLED
|
||||
/// Stores information about a path.
|
||||
struct PathData {
|
||||
|
|
@ -92,9 +96,6 @@ struct AINavigation
|
|||
SimObjectPtr<NavPath> getPath() { return mPathData.path; };
|
||||
void followNavPath(NavPath* path);
|
||||
|
||||
void followObject();
|
||||
void followObject(SceneObject* obj, F32 radius);
|
||||
void clearFollow();
|
||||
/// Move to the specified node in the current path.
|
||||
void moveToNode(S32 node);
|
||||
bool flock();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue