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"

I need help with a timeline

im working on this quickstart as an intro to developing. I cannot get this timeline down i need it to go up and down after i jump off it. Ive been working at this for 2 hours. Any Help? ( I dont know where to place it either)


alt text

Product Version: UE 4.21
annotation.png (276.1 kB)
more ▼

asked Jan 19 '19 at 07:06 AM in Using UE4

avatar image


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

2 answers: sort voted first

Haven't really deep-checked the documentation on that project but if you wanna touch that thing and get launched, i don't see why you would need that timeline. On touch just get the launch node to launch the character towards the desired direction vector, times the desired force I think.

Launch Character works with physics. Just apply the desired force towards the normalized direction times any number.

more ▼

answered Jan 19 '19 at 09:43 AM

avatar image

26 3 5

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

assuming your talking about section 7:5 where it says "sing Timelines, add some animation to the Box Mesh to represent it launching the character". what i would do to accomplish this is to add in a sequence node between the branch and the launch character nodes, out pin 0 would go to launch node and output pin1 you will want to go to a set variable node, in this case you will want to have a vector variable which will be set to the launchpad actors location. then connect the set node to the play from start pin on the timeline. you should then double click the timeline to open it and create a float track which goes from 0 to the height you want the launchpad to move (20-50ish uu) and then back to 0. once thats done return to the event graph and off the update pin of the timeline connect a set actor location node. the location we use will be a combination of the initial actor location and the timelines output value. so we need to get the variable we created earlier and then connect it to a vector +vector node. then right click the second input on on the vector +vector and select split struct pin. connect the float track from the timeline to the Z pin. then connect the output of the vector + vector to the set actor location node. that should get you up and running.

alt text

capture.png (218.8 kB)
more ▼

answered Jan 19 '19 at 04:01 PM

avatar image

10.1k 33 10 23

avatar image ThompsonN13 Jan 19 '19 at 04:13 PM

oh and a few things to note: first this is a very basic example so it will need more work / tweaking to look good. second as this currently is it will only work for a singleplayer game and your launcher will only affect the player and not the enemies. third thing to note as you can see in the picture i posted your cast to character isnt really necessary, instead of get player pawn you can just use get player character in this instance, your way works but to me the fewer nodes and the simpler then better.

(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