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"

Wind force mechanic

I'm currently trying to make a mechanic which is essentially a big fan, which will push the player (as well as physics objects) into the air. But i'm not sure how to achieve this. I've tried using "Launch player" although it doesn't have a gradual lift, nor does it work on physics objects

Any idea on how to achieve this mechanic?

Thank you

Product Version: UE 4.20
more ▼

asked Dec 15 '18 at 04:45 PM in Blueprint Scripting

avatar image

58 4 7 14

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

1 answer: sort voted first

As an option, there's a Radial Force component that you can add to any actor. Its advantage is you don't have to use any ticks or timers and it has a built-in falloff feature, its drawback is that it is omnidirectional.

Then there's the Add Impulse function that can apply to Character Movement. You can set any direction for it, but a) you have to call it on tick or on timer; b) if you want it to falloff if further away from the source, you'll have to create the math for it yourself.

There's an Add Force function that would probably be more suitable for the wind, but for some reason it doesn't work with the character, or maybe I'm doing something wrong. You can use it for physics objects though.

more ▼

answered Dec 15 '18 at 10:14 PM

avatar image

1.8k 12 7 8

(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