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 to push all objects in front of character

Hello guys,

I'm currently working on a fp project, in which my chracter has some telekinetics power... I am quite new to UE4, so I'm still learning about all these functions. I'd like to know if there was an easier and more efficient way than creating traces to apply a force to objects in front of the character, something like radial force that acts only in the direction the character is looking for.


Product Version: UE 4.19
more ▼

asked Jul 31 '18 at 07:06 PM in Blueprint Scripting

avatar image

1 1 1

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

1 answer: sort voted first

just as you said , u make a trace, on get the point of impact, then apply force to this area , ofcourse you have to make all objects has rigidbodies . if u working on unity, its same technique . Something like that , hope this give u starting point. alt text

capture.png (91.9 kB)
more ▼

answered Jul 31 '18 at 09:03 PM

avatar image

Omar Vector
450 16 16 29

avatar image magalenyo Jul 31 '18 at 11:04 PM

Okay. Yeah, I've been working and trying stuff with these traces. But it feels a little inneficient to have like 8 (for example) tracers to have like this kind of cone that is gonna have to detect all objects in that area in order to act like this pushing away power

avatar image Omar Vector Aug 01 '18 at 06:15 AM

there is a node called sphere trace or multi sphere trace , something like that, I'm just away from my laptop, when I'm home I will post a screenshot .

avatar image magalenyo Aug 01 '18 at 10:37 AM

I have tried this, but it doesn't apply the force somehow.

alt text

capture.png (418.4 kB)
avatar image magalenyo Aug 01 '18 at 10:49 AM

Actually, it was the value of the impulse, which it seemed to be so little that it wouldn't make a difference. I've had to change it to a much bigger value

(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