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"

How can I give the "Launch Character" node an accelerating velocity?

I'm trying to use the Launch Character node, and I've set the velocity to (Desired location vector - Current location vector) * 6.

The 6 being Trial and error.

However, that gives me a very quick and jarring snap into motion, and then decelerating as you get closer to the desired location.

How can I make it accelerate into motion, and keep the final deceleration?

Product Version: UE 4.15
more ▼

asked Aug 16 '17 at 12:03 AM in Blueprint Scripting

avatar image

20 4 3 9

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

1 answer: sort voted first

Launch character is made to instantly accelerate in a direction to simulate jumping, etc. It also uses the Character movement system so it's not exactly physics so i am not sure of the best way to handle this.

That being said, try to launch the character with less velocity and increment that velocity for a length of time. Unless there is some odd reset logic this should work as the Launch function adds velocity instead of setting it.

So to test, make a timeline that over 3 seconds outputs a value of 0 - 1. Then multiply the ouput of the timeline by some small number like .01 or .1 (just a guess) and plug that multiply into a Launch Character node. You will probably need a smallish number as you will be adding to the velocity every "tick" of the timeline so it may get large fast. This SHOULD feel like acceleration, then just stop adding and let the decel happen naturally. Adjust the multiply to increase accel and change timeline length to adjust time before decel.

more ▼

answered Aug 16 '17 at 02:31 AM

avatar image

2.6k 98 15 96

(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