better physics
This commit is contained in:
@@ -5,15 +5,14 @@
|
||||
|
||||
void CMOBAPlayer::Spawn()
|
||||
{
|
||||
SetModel("game/core/models/cube.fmdl");
|
||||
SetThink(Think);
|
||||
m_fTimer = 0;
|
||||
};
|
||||
|
||||
void CMOBAPlayer::Think( float fDelta )
|
||||
{
|
||||
m_fTimer += 1.0/60.0;
|
||||
SetAbsOrigin({m_fTimer, 0, 0});
|
||||
SetAbsAngles(glm_rad(90), m_fTimer, 0);
|
||||
BaseClass::Think(fDelta);
|
||||
SetScale(1);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user