Posted December 05, 2021 by TheVeryDeadCactus
I changed the behaviour of jumping, kinda
It used to check by having a checker under the player and everytime you leave or enter a ground region it will tell the code "yo i have left/entered the ground". However, this is not really consistent since you can somehow bug it out pretty often. This is why I have swapped that out with 2 Raycasts. They now check all the time if you are touching the ground on the left side and right side. If you do touch the ground on either the left or right side it tells the code it does. Some more code to understand that (it was a pain) and voilà a new jump behaviour.Other things: