My Project
Public Member Functions | Public Attributes | List of all members
ParaScripting::ParaFaceTrackingCtrler Class Reference

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

#include <ParaScriptingCharacter.h>

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. More...
 

Public Attributes

CFaceTrackingCtrlerm_pFaceTrackingCtrler
 

Detailed Description

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

Member Function Documentation

§ FaceTarget()

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,zwhich point in world space to face to
fDurationhow many seconds the character should keeps facing the target. Set zero or a negative value to cancel facing previous point.

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