55 virtual void tick(
double dt)
override;
66 virtual const char*
type()
const override;
makVrv::DtObserver * myObserver
Pointer to the observer used for view orientation.
Definition humanWeaponPoseLogic.h:76
virtual void shutdown() override
Cleans up resources when the component is being shut down.
virtual bool initialize(makVre::DtPlayerStation *player, makVre::DtInitTable &config) override
Initializes the weapon pose logic component.
DtHumanWeaponPoseLogic()
Default constructor.
void updateWeaponPosition()
Updates the weapon position and orientation.
bool myUsingVr
Flag indicating if VR mode is active.
Definition humanWeaponPoseLogic.h:79
virtual ~DtHumanWeaponPoseLogic() override
Virtual destructor.
virtual const char * type() const override
Returns the component type identifier.
virtual void tick(double dt) override
Updates weapon positioning for the current frame.
Table-based access to Lua state for configuration data.
Definition initializer.h:38
Base class for all role components in VR-Engage.
Definition playerComponent.h:78
virtual DtPlayerStation & player()
Gets the player station.
Class for managing the user interface for engaged roles.
Definition playerStation.h:51
constexpr const char * DtHumanWeaponPoseLogicType
Type identifier constant for DtHumanWeaponPoseLogic components.
Definition humanWeaponPoseLogic.h:30
Defines export macros for the Human Frontend library.
#define HUMAN_DLL
Definition export.h:19
Definition appLauncherComponent.h:28
Defines the DtPlayerComponent base class for VR-Engage role components.