MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getPathDestination

Method getPathDestination

Engine/source/T3D/aiPlayer.cpp:856–861  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

854}
855
856Point3F AIPlayer::getPathDestination() const
857{
858 if(!mPathData.path.isNull())
859 return mPathData.path->mTo;
860 return Point3F(0, 0, 0);
861}
862
863DefineEngineMethod(AIPlayer, getPathDestination, Point3F, (),,
864 "@brief Get the AIPlayer's current pathfinding destination.\n\n"

Callers 1

aiPlayer.cppFile · 0.80

Calls 2

Point3FClass · 0.50
isNullMethod · 0.45

Tested by

no test coverage detected