work on openxr controllers
This commit is contained in:
@@ -20,6 +20,22 @@ private:
|
||||
Vector m_vMovementVector = {};
|
||||
|
||||
HShape m_hCuboid = NULL;
|
||||
|
||||
CBaseEntity *m_pLeftHand;
|
||||
int m_leftHandId;
|
||||
CBaseEntity *m_pRightHand;
|
||||
int m_rightHandId;
|
||||
};
|
||||
|
||||
class CMOBAPlayerHandController: public CBaseModelEntity
|
||||
{
|
||||
public:
|
||||
DECLARE_CLASS(CMOBAPlayerHandController, CBaseModelEntity);
|
||||
DECLARE_DATADESC();
|
||||
DECLARE_SERVERCLASS()
|
||||
CMOBAPlayerHandController();
|
||||
virtual void Spawn( void ) override;
|
||||
void Think( float fDelta );
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user