mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-16 00:54:54 +00:00
aiInfo getPosition now optionally takes a doCastray bool (off by default)
AIFlyingVehicleControllerData add flightfloor and cieling resolvepitch from (portions of) the old aiflyingvehicle resource no reversing for flyingvehicles, so bottom out resolvespeed at 0
This commit is contained in:
parent
6200a6f1fb
commit
584093f48d
5 changed files with 96 additions and 21 deletions
|
|
@ -36,7 +36,7 @@ struct AIInfo
|
|||
Point3F mPosition, mLastPos;
|
||||
bool mPosSet;
|
||||
F32 mRadius;
|
||||
Point3F getPosition() { return (mObj.isValid()) ? mObj->getPosition() : mPosition; }
|
||||
Point3F getPosition(bool doCastray = false);
|
||||
F32 getDist();
|
||||
AIInfo() = delete;
|
||||
AIInfo(AIController* controller);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue