It looks like you are squaring the deltaTime?

When you multiply the velocity when it’s being added to to scarfyPos.Y (scarfyPos.y += (velocity * dT)) You are multiplying the gravity by deltaTime a second time,(You haven’t multiplied the jump Velocity by deltaTime yet so you are doing that here). But it doesn’t look you meant to do this?

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

Privacy & Terms