- Home /
How do i achieve a rounded jump arc?
So I'm writing a character controller, to move the character I'm using translate, to jump I'm using translate and a raycast ground check, I also have my own gravity so I'm not using a rigidbody at all and this is very intentional. I've been stuck on this issue for days and can't seem to divine the right info despite my research efforts, sorry if this is a super noob question.
The problem I can't solve is that when I jump while moving the arc isn't an arc it's a sharp angle. This is because I'm ascending at a fixed speed and when the height of my jump is reached gravity kicks back in and I'm descending at a fixed speed.
Is anyone able to point me towards a solution to a decent feeling jump arc? I know I need to do some sort of jump speed variation as I move closer to the peak of the jump but I have been trying to nut out different equations and have had no luck in making it feel anywhere near normal. Thank you in advance for any help!
Answer by Jerry-FFG · May 17, 2018 at 03:16 PM
Hey i can recommend checking the tutorial series from Sebastian Lague on youtube https://www.youtube.com/watch?v=PlT44xr0iW0&list=PLFt_AvWsXl0f0hqURlhyIoAabKPgRsqjz∈dex=3
In the linked video he explains the different formula's needed to make a jump work
Thank you so much this is exactly what I was looking for, I really need to brush up on my math, when he got into laying out the equations I started getting lost as hell haha I guess describing physics with math isn't my strong suite