working physics

This commit is contained in:
2026-03-04 00:18:56 +02:00
parent 02898d62c0
commit 9884006888
12 changed files with 462 additions and 53 deletions

View File

@@ -2,11 +2,19 @@
#define BASE_MODEL_ENTITY_H
#include "baseentity.h"
#include "iphysics.h"
class CBaseModelEntity: public CBaseEntity
{
public:
DECLARE_CLASS(CBaseModelEntity, CBaseEntity);
DECLARE_CLASS(CBaseModelEntity, CBaseEntity);
virtual void Spawn() override;
virtual void Precache() override;
private:
HShape m_hShape;
HCollider m_hCollider;
IPhysicsBody *m_pBody;
};
#endif