x

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"

Issue for enabling gravity on collision

Hello, I am using a script for picking up some elements in my scene, and i want to make some elements falling when they are hit by an object that is pickup by the player. My BP is actually looking like that : alt text

But it work only when the player hit the object with his body, and not with another object. The BP is an actor BP with a cube as physic component. I have also try with an "event hit" node but the result was the same.

Is there another specific node for this? Or am i just taking a wrong path?

Product Version: UE 4.21
Tags:
graphgrav.png (36.7 kB)
more ▼

asked Nov 30 '18 at 10:28 AM in Blueprint Scripting

avatar image

TwinkNorot
1 1 3

avatar image Tuerer Nov 30 '18 at 10:32 AM

Are "Generate hit event" boxes enabled for both actors?
What if you connect Self to target instead of Hit Component (or the mesh directly, if it's not a Root component)?

avatar image TwinkNorot Nov 30 '18 at 10:39 AM

Thanks for the reply, the "Generate hit event" wasn't enabled on the actor and now it work perfectly! Thanks a lot, i didn't knew about this parameter.

And the result was the same when i connected self to target.

(comments are locked)
10|2000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
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