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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Make Actor Trigger Overlap But Not Block Physics


What's the best way to make an actor trigger on collision enters but not block pawns and actors from passing through them? Seems like a very common thing one would want to do, but I'm having a devil of a time figuring out how to get the job done.

EDIT: To elaborate a little further, my actor is a "cleaning" actor that should be detected by whatever is underneath it by triggering the floor's collision enter delegate connected to a very tall boxcomponent. I want any other actors to be able to pass directly through this cleaning actor, but I want it to still be detected by the floor tiles.


Product Version: UE 4.12
more ▼

asked Aug 26 '16 at 05:39 AM in Using UE4

avatar image

447 35 36 67

avatar image CHADALAK1 Aug 26 '16 at 08:56 AM

Could you elaborate more on what you are trying to achieve? Are you trying to have overlap events but still have physics??

avatar image calembendell Aug 26 '16 at 02:49 PM

i edited the question to hopefully make it a little clearer! thanks for the response

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

1 answer: sort voted first

You should be able to set the collision response settings on your trigger component. Below is an example of setting up a trigger volume using this method. I set the collision channel on everything to ignore all. This allows me to choose only the channels I particularly care about. I then set it to overlap pawns, so it triggers an event that can be used to interact with the actor but they can pass through the volume no problem. I also set it to collide with world static which will be your floor (Unless your floor moves then you'll need WorldDynamic I believe). So it shouldn't fall through the floor, and your pawns should be able to pass through it.

 AMyTriggerActor::AMyTriggerActor(const FObjectInitializer& OI)
      : Super(OI)
      // I'm using a sphere here but you can use any UShapeComponent you wish
      TriggerVolume = CreateDefaultSubobject<USphereComponent>(TEXT("TriggerVolume"));
      TriggerVolume->SetCollisionResponseToChannel(ECollisionChannel::ECC_WorldStatic, ECR_Block);
      TriggerVolume->OnComponentBeginOverlap.AddUniqueDynamic(this, &AMyTriggerActor::PawnOverlapEvent);
more ▼

answered Aug 26 '16 at 03:51 PM

avatar image

270 8 9 16

(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