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"

Physics simulated actor gets stuck in other actors it needs to overlap

Repro steps:

Create a new project using Side Scroller Template (just for convenience).

Create a new blueprint class TestActor using Actor as parent.

Add a Box Collision component to the TestActor, make it a root component.

Uncheck Hidden in Game so we can actually see it.

Check Simulate Physics.

Set up a custom Collision Preset:

  • Collision Enabled: Query and Physics

  • Object Type: WorldDynamic

  • Blocks WorldStatic

  • Ignores WorldDynamic

  • Overlaps Pawn

Spawn and throw TestActors at the player pawn at some random angles using AddImpulse.

Result:

Sometimes TestActors get stuck in the player pawn. It looks like this: https://www.dropbox.com/s/048lw89km4ue3z0/CollisionBug.mp4?dl=0

My test project can be downloaded here (Use E button to spawn TestActors): https://www.dropbox.com/s/400t87h2pyygf5b/CollisionTest.zip?dl=0

Product Version: UE 4.18
Tags:
more ▼

asked Dec 04 '17 at 04:44 PM in Bug Reports

avatar image

koloden
13 2 1 3

avatar image TJ V ♦♦ STAFF Dec 06 '17 at 03:17 PM

Hey koloden,

Thank you for the test project. I'm still looking into this but so far I have noticed if you disable Generate Overlap Events on either the player capsule or the box collision, the issue doesn't occur. Depending on what you are doing, that might be a decent workaround for the time being.

avatar image koloden Dec 06 '17 at 05:24 PM

Hi,

I also noticed this but I need them to generate events in my project. I came up with another workaround: to use two separate collisions in my TestActor. The first one is PhysicsOnly / Block WorldStatic / Ignore everything else, and the other one is QueryOnly / Overlap Pawn / Ignore everything else. Maybe there is a better way to achieve such behavior?

avatar image TJ V ♦♦ STAFF Dec 06 '17 at 08:47 PM

Yeah, this is probably the best way to handle it in the meantime. If and when this issue is fixed, it would be pretty easy to change over.

avatar image koloden Dec 06 '17 at 11:39 PM

Thanks, so I'll stick with this solution for the time being. Is there some issue in the tracker I can monitor?

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

1 answer: sort voted first

Yes, here is the link to the public version so you can keep track of it JIRA UE-53227 and our devs will be investigating further.

Thank you for the report, -TJ

more ▼

answered Dec 08 '17 at 02:58 PM

avatar image

TJ V ♦♦ STAFF
41k 1009 183 494

avatar image koloden Dec 08 '17 at 03:25 PM

Awesome, thanks.

avatar image CoolOppo Mar 30 '19 at 07:01 PM

Why was this marked as "wontfix"?

(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