57 virtual void tick(
double dt)
override;
68 virtual const char*
type()
const override;
makVrv::DtObserver * myObserver
Pointer to the observer used for view orientation.
Definition humanWeaponPoseLogic.h:78
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.
makVre::DtAttributeHandleType< DtVector > myWeaponLocationAttr
Handle for computed weapon location.
Definition humanWeaponPoseLogic.h:93
makVre::DtAttributeHandleType< DtVector > myLocalPositionAttr
Handle for local position.
Definition humanWeaponPoseLogic.h:105
makVre::DtAttributeHandleType< makVre::Equipment > myCurrentEquipmentAttr
Handle for current equipment.
Definition humanWeaponPoseLogic.h:89
makVre::DtAttributeHandleType< bool > myVrEnabledAttr
Handle for VR-enabled state.
Definition humanWeaponPoseLogic.h:85
DtHumanWeaponPoseLogic()
Default constructor.
makVre::DtAttributeHandleType< DtTaitBryan > myWeaponOrientationAttr
Handle for computed weapon orientation.
Definition humanWeaponPoseLogic.h:97
void updateWeaponPosition()
Updates the weapon position and orientation.
bool myUsingVr
Flag indicating if VR mode is active.
Definition humanWeaponPoseLogic.h:81
virtual ~DtHumanWeaponPoseLogic() override
Virtual destructor.
virtual const char * type() const override
Returns the component type identifier.
makVre::DtAttributeHandleType< DtTaitBryan > myLocalOrientationAttr
Handle for local orientation.
Definition humanWeaponPoseLogic.h:101
virtual void tick(double dt) override
Updates weapon positioning for the current frame.
Type-specific handle class for attributes.
Definition attributeHandle.h:229
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:102
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:32
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.
Common enumeration definitions used throughout the VREngage system.