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"

[Solved] Trigger box not detecting overlapping actor spawned in it, but detects it when it is moved in manually.

Hello everyone. I have a problem with a level BP. I have a Trigger Box (named CarpetHintPlace in the screenshot), in which I spawn a movable object (Carpet Hint movable). I need the trigger box to detect whether the movable object (which is a Static Mesh blueprint) is inside the box or not. The BP works fine, but not at the time of the spawn. When I spawn the object, the Trigger Box won't detect the overlapping condition until I take the object outside of the collision box and inside it again. The condition check is run on a tick.

Collision check

Spawn

The problem is not on the variables or the types, as Generate Overlapping Events is on, and in all other conditions the logic works. Why does it behave this way, and how can I fix it? Can you help me? Thank you!

Product Version: UE 4.9
Tags:
more ▼

asked Dec 22 '15 at 08:29 PM in Blueprint Scripting

avatar image

DAck Games
30 2 3 7

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

2 answers: sort voted first

Ive replicated your setup to some degree but i do not have any problems detecting the overlapping actors even when they spawn in directly overlapping.

What are your Collision Preset settings on the Trigger Volume?

Also just to be clear, your spawning this actor at runtime and not placing it in the level already overlapping the trigger volume?

more ▼

answered Dec 30 '15 at 10:30 AM

avatar image

DevilsD
897 58 17 52

avatar image DAck Games Jan 05 '16 at 04:02 PM

Hi, sorry for not having answered before.

The collision presets are the default Trigger ones, with the only exception of the Object Type, which I had set as "WorldStatic".

To be clear, I already have an actor overlapping the trigger volume in the level, which then gets destroyed and the new actor is spawned at runtime on its location.

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

Ok, nevermind, I found the solution. The object I placed didn't inherit an "Enable collision" as it should had. My (silly) mistake. Thank you DevilsD for the help =)

more ▼

answered Jan 05 '16 at 04:17 PM

avatar image

DAck Games
30 2 3 7

avatar image DevilsD Jan 05 '16 at 11:30 PM

Can you please mark either my original Answer as correct or yours so that this ticket can close.

It keeps the AH clear of already solved questions.

Thank you.

(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