Public Member Functions |
| | DtDeadReckonGroundClampUpdater (DtDe &de, DtUniqueID id, bool suppressTick=false) |
| | CTOR.
|
| virtual | ~DtDeadReckonGroundClampUpdater () |
| | DTOR.
|
| virtual void | update (DtTime tNow) |
| | Calls deadReckonAndGroundClamp() followed by updateSceneObject()
|
| virtual void | setSceneObject (DtSceneObject *sceneObject) |
| | Override scene object call to set subcomponent updaters.
|
| virtual void | deadReckonAndGroundClamp (DtTime tNow) |
| | Calculates dead reckoned values using contained DtDeadReckonUpdater, and then ground clamps using the contained DtGroundClampingUpdater.
|
| virtual void | setPosition (const DtVector &position) |
| | Set the object's position.
|
| virtual void | setPosition (const DtVector &position, double time) |
| virtual void | setOrientation (const DtTaitBryan &ori) |
| | Set the object's orientation.
|
| virtual void | setOrientation (const DtTaitBryan &ori, double time) |
| virtual void | setVelocity (const DtVector &velocity) |
| | Set the object's velocity.
|
| virtual void | setVelocity (const DtVector &velocity, double time) |
| virtual void | setAcceleration (const DtVector &acceleration) |
| | Set the object's velocity.
|
| virtual void | setAcceleration (const DtVector &acceleration, double time) |
| virtual void | setAngularVelocity (const DtVector &angularVelocity) |
| | Set the object's rotational velocity.
|
| virtual void | setAngularVelocity (const DtVector &angularVelocity, double time) |
| virtual void | setDeadReckoningSettings (bool deadReckonPosition, bool deadReckonVelocity, bool deadReckonOrientation) |
| | Set the object's dead reckoning settings.
|
| virtual void | setSmoothingEnabled (bool enabled) |
| | Turn the smoother on or off.
|
| virtual void | setSmoothingPeriod (float period) |
| | Set the period for the smoother.
|
| virtual void | updateSpacial (DtTime tNow) |
| | Update the spacial attributes using the given simulation time.
|
| virtual void | setMotionModel (const std::string &modelName) |
| | Set which motion model the object should use.
|
| virtual DtMotionModel * | motionModel () |
| | Get the motion model.
|
| virtual void | setGroundClamping (bool enabled) |
| | Set the Simple object's ground clamping Note that this only takes effect when setPosition() is called.
|
| virtual void | setGroundClampingMode (DtGroundClampingUpdater::GroundClampingMode mode) |
| | Set the Simple object's ground clamping Note that this only takes effect when setPosition() is called.
|
| virtual void | setGroundClampingRadiusScale (float scale) |
| | Set the scale factor that the entity bounding radius is multiplied by to get the ground clamping cutoff distance.
|
| virtual void | setGroundClampingAlways (bool enabled) |
| | Set ground clamping cutoff to always clamp (which ignores the cutoff distance)
|
| virtual void | setCheckForCulling (bool) |
| | When enabled check for object culling.
|
| virtual void | setUseAbsoluteTimeStamping (bool) |
| | Sets whether or not to use absolute time stamping.
|
| virtual const DtVector & | approxLocation (DtTime curTime) const |
| | Because of time stamping, use these routines to get values from the motion model.
|
| virtual const DtVector & | approxVelocity (DtTime curTime) const |
| | Get the approximated (i.e.
|
| virtual const DtTaitBryan & | approxEuler (DtTime curTime) const |
| | Get the approximated (i.e.
|
| virtual const DtVector & | acceleration (DtTime curTime) const |
| virtual const DtVector & | rotationalVelocity (DtTime curTime) const |
| | DtSceneObjectUpdater (DtDe &de, DtUniqueID id, bool suppressTick=false) |
| | CTOR.
|
| virtual | ~DtSceneObjectUpdater () |
| | Virtual DTOR.
|
| virtual bool | needsUpdate (DtTime tNow) |
| | The check function called by DtTickableManager to verify if an update is required.
|
| virtual DtTime | lastUpdateTime () const |
| | Get the time-stamp of the last update.
|
| DtSceneObject * | findSceneObject () |
| | Get the current scene object for this updater.
|
| DtUniqueID | uniqueId () const |
| | Returns the distributed object id of this updater.
|
| virtual void | setUpdaterPosition (int vtx, const DtVector &pos) |
| | Set the position of a scene object vertex.
|
| virtual const DtVector & | updaterPosition (int vtx) const |
| | Get the position of a scene object vertex.
|
| virtual void | setUpdaterOrientation (int vtx, const DtTaitBryan &ori) |
| | Set the orientation of a scene object vertex.
|
| virtual const DtTaitBryan & | updaterOrientation (int vtx) const |
| | Get the orientation of a scene object vertex.
|
| void | updateSceneObject (DtTime tNow) |
| | Update the scene object position and orientation at each vertex and set the last updated time-stamp.
|
| virtual void | terrainScaleTransformsIfNeeded () |
| | Scales the transforms if the terrain scaling flag is set.
|
DtDeadReckonGroundClampUpdater is an updater that combines DtDeadReckonUpdater and DtGroundClampingUpdater to provide scene object updates that need to be dead reckoned AND ground clamped.