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"

Overlap events not working...

So I've got a grid of actors with cubes. This is spawned at the beginning of the game and they collide with nothing. They:

Have overlap events enabled, Have an event set to fire on begin overlap and end overlap Do not simulate physics Do have custom collision allowing overlap on everything but line traces.

Now I also have a pawn possessed by the player that moves a sphere component to the mouse hit position per tick. That sphere is supposed to trigger overlap.

It too has custom collision allowing overlap on all but line traces (which it ignores) It also does not simulate physics It also allows overlap events but does not have an event bound to it.

The sphere is way bigger than the cubes.I am passing it over cubes, i've used print strings, and i still get no event from the cubes. Furthermore i've tried both "on component overlap" and "on actor overlap".

Please advise :P

Thank you!

Product Version: UE 4.17
more ▼

asked Sep 16 '17 at 08:42 PM in Using UE4

avatar image

34 9 11 12

avatar image kurosu143 Sep 16 '17 at 09:03 PM

I just tried it with two BoxCollisionComponent and it worked.

Your collision enabled must be at least PhysicsAndQuery or QueryOnly.

Actors must not be overlapping on BeginPlay().

That's pretty much what I had to do.

Also, make sure that if you're using StaticMesh then your StaticMesh must have collision built in.

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

1 answer: sort voted first

That was it! Thanks man! I spent like 4 hours on this... I'm really just stupid :P

Thank you!!!

I think you need to convert your comment to an answer so I can properly credit you with karma...

more ▼

answered Sep 16 '17 at 09:48 PM

avatar image

34 9 11 12

(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