Improve input time scale handling
This commit is contained in:
@@ -44,7 +44,7 @@ namespace OpenVulkano::Scene
|
||||
|
||||
if (m_isMorphing)
|
||||
{
|
||||
m_currentTime += CURRENT_FRAME.frameTime;
|
||||
m_currentTime += input->GetTimeScale();
|
||||
if (m_currentTime > m_animationDuration) m_currentTime = m_animationDuration;
|
||||
float t = m_currentTime / m_animationDuration;
|
||||
if (t >= 1.0f)
|
||||
|
||||
Reference in New Issue
Block a user