78 virtual void initModel(DtModelInstance* modelInstance)
override;
Defines the DtSceneObjectMimicUpdater class that allows one scene object to mimic another's position.
virtual void updatePosition(DtTime tNow) override
Updates the position and orientation for the current frame.
float myModelHeading
Current heading angle of the model in degrees.
Definition DtFpsFirstPersonUpdater.h:95
std::string myDIGuyCharacterName
Name of the DIGuy character model.
Definition DtFpsFirstPersonUpdater.h:89
virtual void setupOsgNode(osg::Node *node) override
Sets up the OSG node.
virtual ~DtFpsFirstPersonUpdater() override
Virtual destructor.
float myModelPitch
Current pitch angle of the model in degrees.
Definition DtFpsFirstPersonUpdater.h:92
virtual void initModel(DtModelInstance *modelInstance) override
Initializes the model instance.
virtual void setPivotJoint(std::string jointName)
Sets the pivot joint for model rotation.
std::string myPivotJoint
Name of the pivot joint for model rotation.
Definition DtFpsFirstPersonUpdater.h:115
Axis myPitchAxis
Current axis used for pitch rotation.
Definition DtFpsFirstPersonUpdater.h:109
virtual void setBaseRotation(DtVector yawPitchRoll)
Sets the base rotation for the first-person model.
DtTaitBryan myModelRotationDegrees
Base rotation of the model in degrees using Tait-Bryan angles.
Definition DtFpsFirstPersonUpdater.h:118
Axis
Enumeration of possible rotation axes.
Definition DtFpsFirstPersonUpdater.h:102
@ X
Definition DtFpsFirstPersonUpdater.h:103
@ Z
Definition DtFpsFirstPersonUpdater.h:105
@ Y
Definition DtFpsFirstPersonUpdater.h:104
std::string myBaseJoint
Name of the base joint for the model.
Definition DtFpsFirstPersonUpdater.h:112
virtual void setModelPitch(float pitch)
Sets the pitch of the first-person model.
virtual void setPitchAxis(char axis)
Sets the axis used for pitch rotation.
DtFpsFirstPersonUpdater(DtDe &de, DtUniqueID id)
Constructor.
virtual void setModelHeading(float heading)
Sets the heading of the first-person model.
bool myModelAiming
Flag indicating if the model is in aiming pose.
Definition DtFpsFirstPersonUpdater.h:98
DtSceneObjectMimicUpdater(DtDe &de, DtUniqueID id)
Constructor for DtSceneObjectMimicUpdater.
Defines export macros for the Human Frontend library.
#define HUMAN_DLL
Definition export.h:19
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
Definition appLauncherComponent.h:28
makVrv::DtDe * de()
Gets the display element pointer used by the plugin.