!!!!!!!!!!!

This commit is contained in:
MarcEricMartel
2023-12-18 15:24:06 -05:00
parent 6076b55267
commit 40e90fe12d
3 changed files with 7 additions and 3 deletions

View File

@@ -184,11 +184,14 @@ Player::Sound Player::ApplyPhysics(Vector3f input, World* world, float elapsedTi
else isStep = false;
m_POV = m_position.y;
m_POV += m_airborne ? 0 : (sin(bobbingtime) - 0.5f) * (abs(m_velocity.x) + abs(m_velocity.z)) * .2f;
// TakeBooster(booster_table, elapsedTime);
RemoveBooster(elapsedTime);
return snd;
}
void Player::Put(Vector3f pos) {
m_position = pos;
}
void Player::ApplyTransformation(Transformation& transformation, bool rel, bool rot) const {
transformation.ApplyRotation(-m_rotX, 1, 0, 0);