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"

Trampoline action for character using physics?

Is there a simple method in Unreal to add physics such that if a character (1st or 3rd person) jumps down onto a specific cube that it will behave as a trampoline with bounce with physics? (not a jump pad that simply propels character up fixed amount when stepped on). Is there a physics component I can configure or do I have to build from scratch with Blueprint or C++?

Product Version: Not Selected
more ▼

asked Mar 26 '15 at 10:37 PM in Blueprint Scripting

avatar image

1 3 2

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

1 answer: sort voted first

Hi scottunreal,

you can solve it with blueprint, you move your character after he landet on the trampoline in the air, by using a Timeline. You have to calculate the highpoint of the character where he get's thrown up, and then move him along this up-vector. Additionally you can use a float variable to slow his movement up, which increases accordingly to the timeline, and on the highpoint u run the timeline backwards (decrease the slow float variable) and move along the calculated down-vector. this won't be perfect yet, without a curve calculation, but for the beginning it should be fine. You won't solve this without a bit math.

more ▼

answered Mar 27 '15 at 05:53 AM

avatar image

3 1 4 4

avatar image scottunreal Mar 27 '15 at 06:59 AM

Thanks, I'll give that a go. Just surprised there's not some built in physics simulation for some of this type of action. I did the same thing in unity by applying their bounce physics component and adjusting the parameters. Then I could set a different amount of different trampolines.

avatar image Mloki Mar 27 '15 at 07:38 AM

Maybe you can also use the jump node and velocity. This might be easier ... if u hover the jump node you get some infos about it. I hope I could help you and good luck with your project.

(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