Need help with wall detection

I want to create a wall-jumping system such as the one in ULTRAKILL.

But I don’t know a good way to detect the walls, I have everything else figured out, I just need the wall detection.

I’ve seen wall jumps on the forums before but in all of them you need to face a wall, while in ULTRAKILL you are able to freely look away from the wall.

Any links to the script documentation will help along with any brief explanations of the processes I need to accomplish my goal. Thank you to anyone who can help.

1 Like

Typing this comment to gain more interactions

Not familiar with the system you mean. Do you mean an automatic jump when you’re near a wall, or a wall walking type setup.
If it’s just detecting a wall within a radius of the player can you direct 4 rays (front, back, left, right) from the HumanoidRootPart that are limited in range?

1 Like

In ULTRAKILL as long as you are touching a wall you will slowly slide down and are able to jump off it in the direction you are looking in. Raycasting seems like a good idea, ill try it out and get back to you. Thanks

1 Like

It worked, I just added 4 more rays in between the Forward, Lef, Backwards, and Right Rays so that there is less of a chance of the player falling off at certain angles

1 Like