work on openxr controllers

This commit is contained in:
2026-06-15 03:49:11 +03:00
parent b8aa36ccc0
commit c51080a903
16 changed files with 1030 additions and 75 deletions

View File

@@ -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