Climable/Declimable mountain

Hello guys !
First post here for me :slight_smile:
What I would like to do is, I think, pretty simple. I would like my character to be able to climb the face of a mountain, and toggling an anim. I’m not sure how to explain this, but it would be like :
{IF} Player HIT surface between 30 to 60° from floor, {THEN} surface is possible to climb (in Climbing sens) and PLAYER change ANIM state
{IF} Player HIT surface between -30 to -60° from floor, {THEN} surface is possible to de-climb (in De-Climbing sens) and PLAYER change ANIM state

In order to explain myself more, you can have a look at my [quickly, badly] draws :slight_smile:

  1. is actual case
  2. is climbing state (hypothetical)
  3. is declimbing state (hypothetical)

Would it be doable ? By blueprints ? Thanks in advance for your support !

PS : if you still don’t understand, have a look at how the player move in Steep game (Ubisoft) when it is in walk state.

You could perform a couple of traces, possibly one infront of your Character and one below and check the angle of the surface normal to any geometry that might be hit (you could use collision channels to filter for surface you want to define as climbable yourself, such as mountainous geometry). If it is within your tolerances then you could consider that surface acceptable for climbing?

You would have to write your own logic for climbing though.

Hey,
Sorry for the long time no replying, but finnaly found the way to do it like I wanted. Thanks for the help :slight_smile:

Just as a small note - if you come up with a solution (that isn’t already mentioned) it’s good to post it on the forum so that others can learn or improve it.