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"

Is "generate overlap events" expensive?

Hello! For my top-down game I am trying to create a system so that when the character goes inside a room, whatever is between the pawn and the camera becomes opaque. The way I am having this happen is by creating a component that contains the function to make it opaque, and having a collision volume between the player and the camera. So when the player overlaps the scene component, it'll make it invisible.

This means that in order for it to work, I have to enable "generate overlap events" on every actor that I want to become invisible, which leads to my question: Is "generate overlap events" expensive to have ticked on many actors? Or is it not that big of a deal?

Thank you!

Product Version: UE 4.12
more ▼

asked Jul 22 '16 at 07:59 PM in Blueprint Scripting

avatar image

331 46 64 74

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

1 answer: sort voted first

Hi there, i guess this is pretty relative compared to your alternatives.

I would suggest to take an actor, configure it and duplicate a decent amount of them in your level. (just a few alt+drag when selecting a whole duplicated bunch over again). If your profiler doesn't burn, i guess you should be good :)

This is what i did with the Menger-Sponge fractal: Over 6000 actors, all of them with overlap events, and ingame there are about 20 pawns speeding around on the surface where every pawn overlaps with about 4 of them. No issue at all.

alt text

hth :) Marooney

mengerspongemap.jpg (180.3 kB)
more ▼

answered Jul 23 '16 at 05:13 PM

avatar image

896 36 8 38

avatar image Marooney Jul 23 '16 at 05:22 PM

Btw. the limit was just duplication freezing and crashes in editor.

avatar image jfaztk Jul 24 '16 at 02:08 AM

Thank you! This answers my question pretty well.

avatar image MJBrune Sep 03 '17 at 11:57 PM

Very nice. Good work dude. This data helps me as well!

(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