mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-25 14:25:38 +00:00
expose a getThrottle for vehicles. save some calcs in AIWheeledVehicleControllerData
deletion cleanups
This commit is contained in:
parent
2d5e8c1560
commit
78a26b0108
6 changed files with 22 additions and 38 deletions
|
|
@ -29,6 +29,14 @@ AINavigation::AINavigation(AIController* controller)
|
|||
mNavSize = Regular;
|
||||
}
|
||||
|
||||
AINavigation::~AINavigation()
|
||||
{
|
||||
#ifdef TORQUE_NAVIGATION_ENABLED
|
||||
clearPath();
|
||||
clearFollow();
|
||||
#endif
|
||||
}
|
||||
|
||||
NavMesh* AINavigation::findNavMesh() const
|
||||
{
|
||||
GameBase* gbo = dynamic_cast<GameBase*>(mControllerRef->getAIInfo()->mObj.getPointer());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue