mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
behavioural change: feeding an AInfo an object with a 0 radius causes the class to fill in radius from that objects bounds box
also, vehicle direct hooks
This commit is contained in:
parent
78a26b0108
commit
2d0bcbcf8d
4 changed files with 32 additions and 3 deletions
|
|
@ -2264,7 +2264,7 @@ bool Player::setAIController(SimObjectId controller)
|
|||
{
|
||||
if (Sim::findObject(controller, mAIController) && mAIController->mControllerData)
|
||||
{
|
||||
mAIController->setAIInfo(this, mAIController->mControllerData->mMoveTolerance);
|
||||
mAIController->setAIInfo(this);
|
||||
return true;
|
||||
}
|
||||
Con::errorf("unable to find AIController : %i", controller);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue