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"

Foliage triggers many begin/end overlap events

This is already logged as
https://issues.unrealengine.com/issue/UE-26536

But was never fixed, so I'm reopening.

Foliage overlaps trigger a ton of begin/end overlap events. Even when you aren't actually leaving the volume.
Any time you move within the volume it sends another big batch of begin/end events.

Video: https://www.youtube.com/watch?v=rA93GLLr5vY

alt text

alt text

I'm just walking into the box and it sets off 10 begin overlap begin and end events.
It shoudn't even be hitting an end overlap because I'm on entering the box.

The foliage collision is set to OverlapOnlyPawn.

I also tried OnActorBeginOverlap/OnActorEndOverlap and it gave the same behavior.

Here is another screenshot where I am printing out the Overlapped Component, Other Actor, Other Comp, and self in that order.
As you can see, it is always the same ones for each.

alt text

I tested with the same setup but placing the bush as a static mesh instead of foliage and it functions correctly.
i.e. one begin overlap event when entering the collision volume and one end overlap event when exiting the volume.

Product Version: UE 4.17
Tags:
more ▼

asked Sep 07 '17 at 08:58 PM in Bug Reports

avatar image

erebel55
385 42 46 65

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

3 answers: sort voted first

Hello Erebel55,

I have reopened this issue, you can continue to track this issue here:

https://issues.unrealengine.com/issue/UE-26536

You can track the report's status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.

more ▼

answered Sep 13 '17 at 06:44 PM

avatar image

Thomas G ♦♦ STAFF
7k 64 4 54

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

I have managed to fix it by creating another sphere collision in the character blueprint, and casting to instanced foliage actor. Now it sends correct overlap events. alt text

foliage.jpg (120.6 kB)
more ▼

answered Nov 09 '18 at 02:37 PM

avatar image

Pavelioso
41 4 4

avatar image erebel55 Nov 09 '18 at 02:41 PM

Thank you for letting me know Pavelioso, this is useful information :)

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

correct me if I'm wrong, but from the blueprints above it seems that it only prints that when it is colliding with other foliage actors. If you want just an overlap with your character, just take the event outputs and filter out whatever is not a character (or whatever it is you want to get overlap events from). Why it only happens when you walk into it, I cannot explain. Sorry if I don't understand.

more ▼

answered Sep 07 '17 at 10:16 PM

avatar image

aqkotz
144 2 7 10

avatar image erebel55 Sep 07 '17 at 11:40 PM

The blueprint I showed is the character. The bush doesn't have a blueprint. It is just a mesh with a collision primitive that is added to the map via foliage. So yeah you misunderstood. I can't filter anything out. This is a bug for sure, as it is already logged.

(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