ParaScripting::ParaFaceTrackingCtrler Class Reference
[ParaScene]

List of all members.

Detailed Description

ParaFaceTrackingCtrler object: it will allow the biped to always face to a given target or another biped.


Public Member Functions

bool IsValid ()
 check if the object is valid
 ParaFaceTrackingCtrler (CFaceTrackingCtrler *pObj)
void FaceTarget (float x, float y, float z, float fDuration)
 instruct a character to face a target for a certain duration.

Public Attributes

CFaceTrackingCtrler * m_pFaceTrackingCtrler


Member Function Documentation

void ParaScripting::ParaFaceTrackingCtrler::FaceTarget ( float  x,
float  y,
float  z,
float  fDuration 
)

instruct a character to face a target for a certain duration.

It will smoothly rotate the character neck to face it

Parameters:
x,y,z,: which point in world space to face to
fDuration,: how many seconds the character should keeps facing the target. Set zero or a negative value to cancel facing previous point.


Generated on Mon Dec 1 14:34:44 2008 for NPL Scripting Reference for ParaEngine by  doxygen 1.5.2