Climb/vault "Mechanic"

Godot Version

v4.5.1.

Question

Hey, so I’m getting back to working on my project after a long hiatus (lazyness to be honest). So what I’m currently trying to do is make a raycast for my 3d player character a climb/vault “mechanic“ where I can with the player character so it can get up a wall, and I tried to find videos on youtube about climb and vault mechanics on ledges but they are all either outdated or not what I’m trying to find.

So can anyone help me or give tips on how to create a raycast system for my player so that I can climb/vault?

There are multiple ways you can achieve this, but it depends if you want to be able to climb ANYTHING (which is a bit more difficult and can be super buggy), OR you can go the way Crysis 2 did for example, where you need to manually create small areas around ledges to mark what the player can or cannot climb.
I’d personally go with the Crysis 2 approach, since then you can simply have an area2D that follows the player, including their rotation, and once it detects a ledge, and the player is in a falling state for example, you can position the player somewhere near the ledge object you created and placed, and play a climb animation.

1 Like