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"

Instanced Meshes Reporting Overlapping Actors Incorrectly and sometimes not at all

Hi, I noticed that static meshes report overlapping actors mostly correctly, but for some reason, instanced meshes sometimes report overlapping actors, and sometimes do not report anything at all, and this can be affected by mobility setting. I'm not sure if this is intentional, so I'll just proceed to report this as if it's a bug.

To reproduce this:

I'm using a heavily modified rolling ball game UE4 project - tho I Imagine this can be reproduced in other projects.

  1. Create a blueprint actor

  2. Add an instanced static mesh Component

  3. Set the static mesh to anything that has collision - I chose "MaterialSphere"

  4. Add an instance by hitting the + sign

  5. Make sure Mobility is set to Static

  6. Ensure generate overlaps is enabled

  7. Set collision Preset to either "Overlap all" or "trigger" - I chose trigger

  8. drag the blueprint into the viewport so that it clearly overlaps another mesh

  9. Setup the blueprint event graph as follows:

alt text

If everything was done correctly, then every 0.2s, it should print nothing. If you move the pawn over the blueprint, then it should print the display name of the pawn actor. I expected this to print the names of overlapping static meshes and other blueprint actors, but apparently it does not do this unless something moves on top of the blueprint - such as a pawn.

Now, go back to the blueprint and change the mobility setting of the Instanced Static mesh to "Stationary". Now if you test, it won't print anything, even the pawn actor. Everything is ignored.

Setting mobility to "Movable" produces the same result as "static".

So, long story short, "Movable" and "Static" only report the pawn, or actors that move over the blueprint. Actors that do not move do not get reported as overlapping.

This contrasts the behavior of a simple Static Mesh Component, which reliably reports all overlapping actors, including non moving ones, in all 3 mobility states.

Is this a bug, or is it intended behavior? Very curious to know. Hopefully I didn't miss any steps and you are able to reproduce this! :)

Thanks! -Neil (CaptainMigraine)

Product Version: UE 4.14
Tags:
more ▼

asked Dec 07 '16 at 07:59 PM in Bug Reports

avatar image

Neilz0r
346 11 23 33

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

1 answer: sort voted first

Hi CaptainMigraine,

Sorry for the delay. I was able to reproduce both issues. For the 'InstancedStaticMesh not registering overlaps in Stationary mobility'; I've created JIRA UE-39876. Our developers will be investigating further. Feel free to use that link to monitor the status and vote on the issue.

For the 'overlap not being registered on actors that are overlapping the InstancedStaticMesh on start'; this is now working correctly in our latest internal build and you will see it in a future update.

Cheers,

TJ

more ▼

answered Dec 16 '16 at 07:03 PM

avatar image

TJ V ♦♦ STAFF
41.2k 1009 183 493

avatar image skydashstudio Sep 25 '18 at 06:58 PM

Hello, I got the similar problems in UE4.20.3

https://youtu.be/GranLFs5KUI

I made a bullet with instance static mesh component. Its event begin overlap is triggered only when it overlap with moving pawn. If I do not move a pawn, event component begin overlap is not triggered.

(comments are locked)
10|2000 characters needed characters left
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