mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +00:00
add a calibrateable mHeightTolerance
for players this defaults to 0.001, for wheeledvehicles, 2.0, and for flyingvehicles, 200 fix naveditor cript not looking up the object.datablock.aicontrollerdata fix AIWheeledVehicleControllerData not binding the relevant ::resolvespeed also the relevant ::resolvespeed now lowers the throttle post-turning add AIFlyingVehicleControllerData
This commit is contained in:
parent
fdb64b15a8
commit
6200a6f1fb
4 changed files with 205 additions and 55 deletions
|
|
@ -461,7 +461,7 @@ function NavEditorGui::onPlayerSelected(%this, %flags)
|
|||
{
|
||||
if (!isObject(%this.getPlayer().aiController) && (!(%this.getPlayer().isMemberOfClass("AIPlayer"))))
|
||||
{
|
||||
%this.getPlayer().aiController = new AIController(){ ControllerData = aiPlayerControl; };
|
||||
%this.getPlayer().aiController = new AIController(){ ControllerData = %this.getPlayer().getDatablock().aiControllerData; };
|
||||
%this.getPlayer().setAIController(%this.getPlayer().aiController);
|
||||
}
|
||||
NavMeshIgnore(%this.getPlayer(), true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue