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"

Simulate Physics not working launched in Overlap Event

Hi, I'm testing with Physics Collisions and a constraint. I set up for my porpose a overlapping box to activate simulate physics when another specific object do the overlap, and deactivate the simulation at the end of overlap. First time entered in the overlap activate the simulation properly, but when overlap again simulate physics doesn't work, I tested (print in screen) if Is Simulating Physics and return like yes but really aren't working. If relaunch the Simulate Physics triggered by other way like pressing a key event after first overlap to test and works, but inside the Overlap, or any function/event triggered in the overlap never work. Can somebody explain me why?

Product Version: UE 4.21
Tags:
more ▼

asked Jan 09 '19 at 02:28 AM in Using UE4

avatar image

mandango
68 1 6 10

avatar image BenVlodgi Jan 13 '19 at 06:41 PM

Have you tried setting the simulating physics on the component directly instead of the actor?

avatar image mandango Jan 14 '19 at 12:42 PM

It's already a component (Limit1), Box Collision component...

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

2 answers: sort voted first

Maybe you have to do Wake Rigid Body to get it to start back up again?

more ▼

answered Jan 09 '19 at 03:30 PM

avatar image

BenVlodgi
2.1k 38 17 52

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

I don't think for that, if reactivate simulate physics out of this overlap works,anyway will try later when be at home, thanks for take your time to response

Edit: 99% is some kind of bug, had evaluating values like in print string (if was last overlapped, if is simulating physics, collision enabled... ) at the time isn't working, no find a sense for that. The problem like commented is at reactivate simulate physics after first time (2nd, 3rd...) in the overlap event

alt text

sin-titulo.jpg (352.6 kB)
more ▼

answered Jan 09 '19 at 07:39 PM

avatar image

mandango
68 1 6 10

(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