mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 23:24:41 +00:00
elevated mAicontroller to shapebase
aiwheeleedveiclecontrollerdata resolvespeed now only touches throttle objects assigned aicontrollers now reflect that by thier objecttype basic flocking
This commit is contained in:
parent
d36cf31707
commit
3210325f3f
15 changed files with 352 additions and 185 deletions
|
|
@ -88,6 +88,8 @@ class ShapeBase;
|
|||
class SFXSource;
|
||||
class SFXTrack;
|
||||
class SFXProfile;
|
||||
struct AIController;
|
||||
struct AIControllerData;
|
||||
|
||||
typedef void* Light;
|
||||
|
||||
|
|
@ -555,6 +557,7 @@ public:
|
|||
U32 cubeDescId;
|
||||
ReflectorDesc *reflectorDesc;
|
||||
|
||||
AIControllerData* mAIControllData;
|
||||
/// @name Destruction
|
||||
///
|
||||
/// Everyone likes to blow things up!
|
||||
|
|
@ -1754,6 +1757,11 @@ public:
|
|||
/// Returns true if this object is controlling by something
|
||||
bool isControlled() { return(mIsControlled); }
|
||||
|
||||
AIController* mAIController;
|
||||
bool setAIController(SimObjectId controller);
|
||||
AIController* getAIController() { return mAIController; };
|
||||
virtual bool getAIMove(Move* move);
|
||||
|
||||
/// Returns true if this object is being used as a camera in first person
|
||||
bool isFirstPerson() const;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue