42 virtual void SetTime(
float fTime);
78 std::string m_sFollowTarget;
94 void SetFollowTarget(
const std::string& obj);
95 const std::string& GetFollowTarget();
101 virtual void FrameMove(
float fDeltaTime);
float m_fTimeElapsed
total time elapsed since the controller is active(not suspended).
Definition: BipedController.h:32
Definition: combase.h:159
different physics engine has different winding order.
Definition: EventBinding.h:32
void SetAI(CAIBase *pAI)
set the AI object to which this object is associated.
Definition: BipedController.cpp:73
float GetTime()
get the current movie time
Definition: BipedController.cpp:60
virtual void FrameMove(float fDeltaTime)
a virtual function which is called every frame to process the controller.
Definition: BipedController.cpp:119
virtual void Suspend()
suspend the controller, so it does not take effects on the next frame move.
Definition: BipedController.cpp:47
IGameObject * FindBiped(IGameObject *pInput, const std::string &searchString)
Find a biped with a matching name.
Definition: BipedController.cpp:102
this is an interface class for game objects, such as NPC, OPC and players.
Definition: IGameObject.h:15
Base Interface for Biped controller.
Definition: BipedController.h:18
bool IsActive()
check whether the controller is active(not suspended).
Definition: BipedController.cpp:43
CBipedObject * GetBiped()
get the biped, to which this biped controller is associated.
Definition: BipedController.cpp:65
virtual void SetTime(float fTime)
set the internal timer.
Definition: BipedController.cpp:55
base class for all AI objects
Definition: AIBase.h:9
virtual void Resume()
resume the controller.
Definition: BipedController.cpp:51
a follow controller it will follow a given target or another biped.
Definition: BipedController.h:70
IGameObject * GetClosestBiped(IGameObject *pInput)
get the biped in the perceived biped list, which is closet to the current biped.
Definition: BipedController.cpp:78
It can be used to represent biped object(like human, re spawning monsters) in the scene without inher...
Definition: BipedObject.h:60