working physics
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user