Why we did not multiple JumpVel by Delta Time?

Why we did not multiple JumpVel by Delta Time in if statement, where is “velocity +=jumpVel;” ?

1 Like

We don’t need to multiply jumpVel by delta-time because we multiply velocity by delta-time later in our code.

We do multiply gravity by delta-time because gravity some-value per second-squared. So we need to multiply twice. First when we add to velocity, then when we multiply velocity itself.

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.

Privacy & Terms