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"

landing variation depent on Height

Hi i am in progress of making a 3d sidescroller game my question is how can i change the animation when my character is landing depending on the Height he is jumping from ?? from example i jump from one place to another in the same height with me and my character plays the default animation i jump from the same place to a deeper place and my character plays a different animation showing that he fell off from higher ground i jump from the same place to a Pit , hole etc my character plays a falling animation .... also i would love if someone can share a 3d sidescroller Blueprint for making my character Crouching

thanks in advance

Product Version: UE 4.8
Tags:
more ▼

asked Jul 07 '15 at 12:52 AM in Blueprint Scripting

avatar image

steampunksorcerer
1 2 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

If you know how far your character is going to jump (ie horizontal distance covered by a jump), then you can do a trace downward to see where exactly he is going to land. Once you now that, you can calculate the height of the jump (the difference between Z axis of your character's current location and the location of landing). Using that, you can play the right animation.

alt text

pic.jpg (15.5 kB)
more ▼

answered Jul 07 '15 at 04:19 AM

avatar image

mindfane
3.4k 154 52 271

avatar image steampunksorcerer Jul 07 '15 at 03:54 PM

this is how I guessed it that depenting on the height from my character or even the time I am falling - jumping I will be able to change animation somehow thing is I haven't figure out how to set up it inside character blueprint and animation bluepring.. I am not programmer you see and all that I have done so far are made based on tutorials on internet or examples I found here and there thanks once more for any answer and any help in advance :)

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

this is how I guessed it that depenting on the height from my character or even the time I am falling - jumping I will be able to change animation somehow thing is I haven't figure out how to set up it inside character blueprint and animation bluepring.. I am not programmer you see and all that I have done so far are made based on tutorials on internet or examples I found here and there thanks once more for any answer and any help in advance :)

more ▼

answered Jul 07 '15 at 03:54 PM

avatar image

steampunksorcerer
1 2 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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