[SOLVED] Raycast or collision event for jump?

Hi. How to implement jumps in a third person shooter?

I’ve tried using raycast, but when the player entity is on the edge of the box, for example, the beam doesn’t hit the surface and the jump doesn’t work. I also tried to use collision events, but since I use a sphere as a collision, this event often gives out false, even when moving on a flat surface, and I also cannot make the jump. Tell me, please, how do I do it right?

I tried to use a lot of raycast rays and tried to make an additional collision at the bottom of the player, but this did not work. To solve the problem, I had to combine both ways methods. Now the jump works correctly. :slightly_smiling_face: