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"

Filter overlap by component

I'm having an overlap issue.

I have a pickup that on overlap will destroy itself. The mechanics work fine. Run over it, trigger the pickup actions.

My character has a sphere component that is scaled to expand a set distance from the character, I am using it currently to apply damage on input button press to anything that the sphere overlaps.

Both mechanics separately work just fine. There is however one unforeseen niggle.

The sphere I'm projecting for my attack mechanic is overlapping my pickup - meaning that I end up triggering my pickup from some distance away. This, I don't want! Overlap is going to form a large part of my attack mechanics, so I don't want everything that uses this mechanic to trigger it, nor do I want the player to trigger it from a distance.

to this end, I'm trying to figure the following out.

My pickup is activated by an overlap trigger. Is there any method to check if the overlap is only the player character mesh. (If so I assume I can just return a True to gate before triggering the pickup actions).

Product Version: Not Selected
more ▼

asked Nov 02 '14 at 09:17 PM in Blueprint Scripting

avatar image

51 10 9 13

avatar image 1PXL_Gryph Nov 02 '14 at 09:34 PM

Sorry Folks,

I am halfway there.

From the same array that I am deriving overlapping actors I am triggering Get Class. I then have a Class = Boolean returning true if equal to mesh.

I have then added a collision only mesh component to my character that extends the range of my desired pickup radius.

Good news - My sphere no longer interferes and still works as intended for overlapping other objects and applying damage, but my class definition is incorrect, as the pickups are not triggering.

avatar image HKAISER Apr 27 '16 at 02:47 PM

Can we see a screenshot of your blueprint? I'm trying to solve a similar set up. I have a sphere that triggers an event. But I want the sphere to only trigger the event when a specific mesh overlaps it and not any others.


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

0 answers: sort voted first
Be the first one to answer this question
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