OwenTheBell / RunRoom

0 stars 0 forks source link

Rework mantling to use line casts #18

Closed OwenTheBell closed 7 months ago

OwenTheBell commented 7 months ago

If I use a line cast pointed down from a short distance in front of the player's head, it should detect edges.

I can then do a raycast towards the point struck to find the normal of the wall in front of the character, and move in the opposite direction to figure out the point to climb up at.