Physic rebuild start

This commit is contained in:
2025-01-15 18:33:02 +01:00
parent 58cafd7682
commit c707e49561
6 changed files with 188 additions and 116 deletions

View File

@@ -176,9 +176,9 @@ void Object::SetVelocity(XMVECTOR velocity)
m_velocity = velocity;
}
void Object::AddVelocity(float frameTime)
void Object::AddVelocity(float deltaTime)
{
m_velocity += m_acceleration * frameTime;
m_velocity += m_acceleration * deltaTime;
}
XMVECTOR Object::GetVelocity() const