Public Member Functions | |
void | FrameMove (double elapsedTime) |
void | SetFollowerAngle (double value) |
double | GetFollowerAngle () |
void | SetTargetAngle (double value) |
double | GetTargetAngle () |
void | SetFollowerAngleVelocity (double value) |
double | GetFollowerAngleVelocity () |
This method helps changing an angle more smoothly. This class is helpful and effective in handling smooth direction change of remote character.
General Usage:
void Proud::CAngleFollower::FrameMove | ( | double | elapsedTime | ) |
TODO:translate needed. The follower changes the value constantly when this method is called in every frame
elapsedTime | frame processing time (in sec) |
double Proud::CAngleFollower::GetFollowerAngle | ( | ) |
TODO:translate needed. Calculate the follower angle
double Proud::CAngleFollower::GetFollowerAngleVelocity | ( | ) |
TODO:translate needed. Calculate the moving angle speed of the follower
double Proud::CAngleFollower::GetTargetAngle | ( | ) |
TODO:translate needed. Calculate the target angle
void Proud::CAngleFollower::SetFollowerAngle | ( | double | value | ) |
TODO:translate needed. Set the follower angle
value | angle (in radian) |
void Proud::CAngleFollower::SetFollowerAngleVelocity | ( | double | value | ) |
TODO:translate needed. Insert the moving angle speed of the follower
value | angle speed (in radian/sec) |
void Proud::CAngleFollower::SetTargetAngle | ( | double | value | ) |
TODO:translate needed. Set the target angle
value | angle (in radian) |