|
| cCharacterMove (cInit *apInit) |
|
void | Update (float afTimeStep) |
|
void | OnDraw (cInit *apInit) |
|
void | OnPostSceneDraw (iLowLevelGraphics *apLowLevelGfx) |
|
bool | MoveToPos (const cVector3f &avPos) |
|
void | MoveDirectToPos (const cVector3f &avFeetPos, float afTimeStep) |
|
void | TurnToAngle (float afAngle) |
|
void | TurnToPos (const cVector3f &avPos) |
|
void | Stop () |
|
bool | FreeDirectPathToChar (iCharacterBody *apBody) |
|
float | DistanceToChar (iCharacterBody *apBody) |
|
float | DistanceToChar2D (iCharacterBody *apBody) |
|
cAINode * | GetAINodeInRange (float afMinDistance, float afMaxDistance) |
|
cAINode * | GetAINodeAtPosInRange (const cVector3f &avPos, float afMinDistance, float afMaxDistance, bool abRayCheck, float afEndOffset) |
|
bool | IsMoving () |
|
bool | IsTurning () |
|
void | SetCharBody (iCharacterBody *apCharBody) |
|
iCharacterBody * | GetCharBody () |
|
void | SetNodeContainer (cAINodeContainer *apContainer) |
|
cAINodeContainer * | GetNodeContainer () |
|
void | SetAStar (cAStarHandler *apAStar) |
|
cAStarHandler * | GetAStar () |
|
void | SetMaxTurnSpeed (float afX) |
|
void | SetAngleDistTurnMul (float afX) |
|
void | SetMinBreakAngle (float afX) |
|
void | SetBreakAngleMul (float afX) |
|
void | SetMaxPushMass (float afX) |
|
float | GetTurnSpeed () |
|
const cVector3f & | GetGoalPos () |
|
float | GetStuckCounter () |
|
void | ResetStuckCounter () |
|
void | SetMaxDoorToughness (int alX) |
|
int | GetMaxDoorToughness () |
|
◆ MoveToPos()
bool cCharacterMove::MoveToPos |
( |
const cVector3f & |
avPos | ) |
|
returns false if no path could be found.
The documentation for this class was generated from the following file: