x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Climable/Declimable mountain

Hello guys ! First post here for me :) 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 :) 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.

alt text

alt text

alt text

Product Version: UE 4.14
Tags:
case01.png (36.0 kB)
climbingcase.png (62.5 kB)
declimbingcase.png (66.8 kB)
more ▼

asked Dec 07 '16 at 08:21 PM in Blueprint Scripting

avatar image

ZelodaN
3 2 1 3

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

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.

more ▼

answered Dec 08 '16 at 08:28 AM

avatar image

DevilsD
887 57 16 52

avatar image ZelodaN Feb 01 '17 at 10:10 PM

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

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question