Ledge Detection, Grab and Climbing

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Ampv2002

What can you do for the player to detect a ledge while he jumps of falls, grabs that ledge when he detects it, and then climbs if the “up” button is pressed?

I would use raycasts to see if theres a ledge.

Merlin1846 | 2020-05-03 15:24

I already know that and my player already detects and grabs the ledge. That doesn’t help the fact that what I need is the player to climb the ledge when I press the “up” button. Because the Raycast thing is quite obvious.

Ampv2002 | 2020-05-10 20:29