I can't seem to get the jumping to work - the problem I'm having seems to be when I try to implement gravity, specifically this line: jumpVelocity.y += playerStats.gravity * Time.deltaTime; If I remove that line, I can jump and float endlessly into the sky, but as soon as I put that line back in the character will not even leave the ground. Any idea on what I could be screwing up?
@dumbguy1073
3 жыл бұрын
can u plz explain the gravity formula i searched a lot..plz explain each variable purpose to multiply
@dumbguy1073
3 жыл бұрын
why did u keep jump velocity to -2 before jumping..plz explain me
Пікірлер: 6