![]() |
VR-Forces Developer's Guide
|
A DiGuy based motion controller for objects which have a DI Guy character. This has been extracted from the former DtDiGuyMotionModel.
Classes | |
| struct | CharacterUpdateInfoStruct |
Public Member Functions | |
| DtDiGuyMotionController (DtDiGuyCharacterModel &characterModel, DtDe &de) | |
| virtual | ~DtDiGuyMotionController () |
| virtual void | flagForReinitialization () |
| virtual void | updateCharacterMotion (const DtVector &location, const DtTaitBryan &orientation) |
| virtual const char * | getActionFromDescription (diguyMotionDirection direction, diguyMotionPosture posture, double actualSpeed) |
Protected Member Functions | |
| int | calculateDirectionFBLR (const DtTaitBryan &ori, const DtVector32 &vel) |
| int | calculateDirectionFB (const DtTaitBryan &ori, const DtVector32 &vel) |
| void | cacheMotionModel () |
Protected Attributes | |
| DtDe & | myDe |
| CharacterUpdateInfoStruct | myCharacterInfo |
| DtDiGuyCharacterModel & | myCharacterModel |
| DtMotionModel * | myMotionModel |
| DtVector | myLastTopoUpdateLocation |
| DtVector | myAcceleration |
| bool | myIsGeocentric |
| bool | myNeedsInit |
| makVrv::DtDiGuyMotionController::DtDiGuyMotionController | ( | DtDiGuyCharacterModel & | characterModel, |
| DtDe & | de | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
inlinevirtual |
Flags this controller as needing initialization again during the next update.
|
virtual |
|
virtual |
Get a DI-Guy action for the current character to match the direction/posture/speed.
|
protected |
Calculate the direction Forward/Back/Left/Right.
|
protected |
Calculate the direction Forward/Back.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |