My Project
Public Member Functions | List of all members
ParaEngine::CFollowCtrler Class Reference

a follow controller it will follow a given target or another biped. More...

#include <BipedController.h>

Inheritance diagram for ParaEngine::CFollowCtrler:
ParaEngine::CBipedController

Public Member Functions

 CFollowCtrler (CAIBase *pAI)
 
void SetFollowTarget (const std::string &obj)
 
const std::string & GetFollowTarget ()
 
virtual void FrameMove (float fDeltaTime)
 a virtual function which is called every frame to process the controller. More...
 
- Public Member Functions inherited from ParaEngine::CBipedController
 CBipedController (CAIBase *pAI)
 
bool IsActive ()
 check whether the controller is active(not suspended). More...
 
virtual void Suspend ()
 suspend the controller, so it does not take effects on the next frame move. More...
 
virtual void Resume ()
 resume the controller. More...
 
virtual void SetTime (float fTime)
 set the internal timer. More...
 
float GetTime ()
 get the current movie time
 
IGameObjectGetClosestBiped (IGameObject *pInput)
 get the biped in the perceived biped list, which is closet to the current biped. More...
 
IGameObjectFindBiped (IGameObject *pInput, const std::string &searchString)
 Find a biped with a matching name. More...
 
CBipedObjectGetBiped ()
 get the biped, to which this biped controller is associated. More...
 
void SetAI (CAIBase *pAI)
 set the AI object to which this object is associated. More...
 

Additional Inherited Members

- Protected Attributes inherited from ParaEngine::CBipedController
float m_fTimeElapsed
 total time elapsed since the controller is active(not suspended). More...
 

Detailed Description

a follow controller it will follow a given target or another biped.

please note that the controller will only follow an object within its perceptive radius.

Member Function Documentation

§ FrameMove()

void CFollowCtrler::FrameMove ( float  fDeltaTime)
virtual

a virtual function which is called every frame to process the controller.

Parameters
fDeltaTimethe time elapsed since the last frame move is called.
pInputIt holds any information that is perceived by a Active Biped object

Reimplemented from ParaEngine::CBipedController.


The documentation for this class was generated from the following files: