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

Method setMoveDestination

Engine/source/T3D/aiClient.cpp:166–174  ·  view source on GitHub ↗

* Sets the location for the bot to run to * * @param location Point to run to */

Source from the content-addressed store, hash-verified

164 * @param location Point to run to
165 */
166void AIClient::setMoveDestination( const Point3F &location ) {
167 // Ok, here's the story...we're going to aim where we are going UNLESS told otherwise
168 if( mAimToDestination ) {
169 mAimLocation = location;
170 mAimLocation.z = 0.0f;
171 }
172
173 mMoveDestination = location;
174}
175
176/**
177 * Sets the location for the bot to aim at

Callers 2

aiClient.cppFile · 0.45
DefineEngineMethodFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected