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"

how Ignore mask in collision query params work?

 /** Extra filtering done during object query. See declaration for filtering logic */
 FMaskFilter IgnoreMask;

 /** This filter allows us to refine queries (channel, object) with an additional level of ignore by tagging entire classes of objects (e.g. "Red team", "Blue team")
     If(QueryIgnoreMask & ShapeFilter != 0) filter out */
 typedef uint8 FMaskFilter;

Solution: Actor Team: team A and team B

TestActor(Team A) preform physics overlap detected with sight range, return actors only with team B

So how can I use IgnoreMask to filter actor with team B(like comment: e.g. "Red team", "Blue team")

Product Version: UE 4.14
Tags:
more ▼

asked Dec 01 '16 at 06:59 AM in C++ Programming

avatar image

roshan_Ex
34 9 10 11

avatar image roshan_Ex Dec 03 '16 at 06:50 AM

Is there a way to get TestActor with spe tag with a phy overlap function? Normally, get all Test Actors with array of Overlap result, and then loop for each TestActor and filter with tag. Like:

 TArray Results;
     if (MultOverlap(Results, ....))
     {
          FilterResultsByTag(Results, "SpeTag");
     }
 
avatar image roshan_Ex Dec 19 '16 at 03:47 AM

Someone help!

avatar image Zico.Liu May 23 '18 at 01:56 PM

Does anyone know how this works? as I'm trying to use it to disabled collisions between groups of actors, and there doesn't seem to be any documentation for this feature.

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

1 answer: sort voted first
more ▼

answered May 23 '18 at 02:00 PM

avatar image

phil_me_up
1.5k 6 6 12

avatar image Zico.Liu May 23 '18 at 04:25 PM

Thanks

Yes I have tried setting the components of the first group of actors with SetMaskFilterOnBodyInstance(1) and SetMoveIgnoreMask(2)

and for the second group SetMaskFilterOnBodyInstance(2) SetMoveIgnoreMask(1)

I'm still getting collisions between the 2 groups, unless there's something i'm missing.

(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