Public Member Functions |
| | DtCigiCharacterEntity (DtCigiConnection &connection, DtAgentManagerInterface &sceneInterface, int entityId, int entityType) |
| | Constructor.
|
| virtual | ~DtCigiCharacterEntity () |
| | Destructor.
|
| virtual void | setPosition (const DtGeodeticCoord &pos, bool force=false) |
| | Set the entity's geodetic position.
|
| virtual void | setOrientation (const DtTaitBryan &orientation, bool force=false) |
| | Set the entity's orientation.
|
| virtual void | setCharacterPaused (bool paused) |
| | Set paused state without specifying an action.
|
| virtual void | setCharacterActionSpeed (float speed) |
| | Change action speed of an existing action.
|
| virtual void | setCharacterAction (const std::string &action) |
| | Set a character action. Will used saved previous paused and speed flags.
|
| virtual void | setCharacterAction (const std::string &action, bool paused, double speed) |
| | When you have all three, set together.
|
| virtual void | setCharacterPosture (DtCharacterModel::Posture posture) |
| | Set a character's posture.
|
| virtual void | setWeaponDeployed (bool deployed) |
| | Set whether the character's weapon is deployed.
|
| virtual bool | weaponDeployed () const |
| | Get whether the character's weapon is deployed.
|
| virtual void | setAlive (bool alive) |
| | Set whether the character is alive.
|
| virtual bool | alive () const |
| | Get whether the character is alive.
|
| virtual void | setWaterlineOriginOffset (float offset) |
| | Set the amount that a bouyant entity's origin is offset from the waterline.
|
| virtual void | startEmbarked () |
| | Override to prevent amphibious behavior when embarked.
|
| virtual void | endEmbarked () |
| | Override to restore amphibious behavior when disembarked.
|
| | DtCigiBaseEntity (DtCigiConnection &connection, DtAgentManagerInterface &sceneInterface, int entityId, int entityType) |
| | Constructor takes a DtCigiConnection, scene interface, and the CIGI entity ID/type.
|
| virtual | ~DtCigiBaseEntity () |
| | Destructor.
|
| virtual DtUniqueID | uniqueId () const |
| | Returns the unique ID of the entity's scene object.
|
| virtual int | cigiId () const |
| | Returns the ID of the CIGI entity.
|
| virtual void | setVisible (bool yesNo) |
| | Set whether the entity is visible.
|
| virtual void | setDeadReckoningOn (bool onOff) |
| | Turns dead-reckoning on/off.
|
| virtual const DtGeodeticCoord & | position () const |
| | Returns the last position set by a CIGI entity control message.
|
| virtual const DtVector & | localPosition () const |
| | Returns the last computed local position set.
|
| virtual const DtTaitBryan & | orientation () const |
| | Returns the last orientation set by a CIGI entity control message.
|
| virtual void | setLinearRate (const DtVector &rate, bool useWorldCoordinates=true) |
| | Sets the entity's linear rate.
|
| virtual void | setAngularRate (const DtVector &rate, bool useWorldCoordinates=true) |
| | Set's the entity's angular rate.
|
| virtual void | setRelativeTo (DtCigiBaseEntity *parent) |
| | Attachment control.
|
| virtual void | setRelativePosition (const DtVector &pos) |
| | Sets the entity's relative position (if attached).
|
| virtual void | setRelativeOrientation (const DtTaitBryan &orient) |
| | Sets the entity's relative orientation (relative to the parent's body coordinates) if attached.
|
| virtual void | setAlpha (int alpha) |
| | Sets the entity's alpha value.
|
| virtual int | alpha () const |
| | Returns the entity's alpha value.
|
| virtual void | setInheritAlpha (bool inherit) |
| | Set whether the entity should inherit alpha from its parent.
|
| virtual void | slot_alphaChanged (int alpha, DtUniqueID id) |
| | Slot so we can check if the parent's alpha has changed.
|
| virtual void | setGroundClampingOn (DtGroundClampingUpdater::GroundClampingMode clampType) |
| | Turns ground clamping on/off.
|
A DtCigiCharacterEntity is a CIGI entity that loads a character model.