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"

My bomb detonates instantly when dropping.

Hi, I have a game that involves flying old aircraft however for whatever reason my bomb instantly detonates when I try and drop the bomb. I believe it is somehow triggering collision events with the plane that drops said bomb. I've tried dropping the bomb lower and even tried adding a delay but the bomb instantly explodes (ignoring the delay!). Thanks for help in advance, here is my blueprint: alt text

Product Version: UE 4.17
Tags:
capture.png (159.9 kB)
more ▼

asked Sep 19 '17 at 01:57 AM in Using UE4

avatar image

imDepre
1 1

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

2 answers: sort voted first

Not sure why you guys above overcomplicate it and Answer Questions he did not ask ;P

There you go. Not sure if you still want the delay but just in case I included it.

https://i.imgur.com/Q5QgnwD.png

more ▼

answered Sep 19 '17 at 09:02 PM

avatar image

Nachtmahr
7k 143 28 172

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

Hey imDepre,

It's definitely an issue with the overlap being called too early. You can handle this a couple of ways. The easiest way would be to use the 'Other Actor' output pin to control which actor triggers the overlap function. I just used a cast really quick to make sure it worked, but if you want your bomb to trigger using multiple actors you can define an array and use a branch to control the flow as well. Here's a screenshot of a BP I whipped up in my project.

https://gyazo.com/b843ec719f242a83ddee94f75053e66c

Let me know if you need any more help!

more ▼

answered Sep 19 '17 at 02:16 AM

avatar image

Entropikz
113 18 22 26

avatar image imDepre Sep 19 '17 at 12:06 PM

I pretty much want it to detonate on everything but the ship, wouldn't it be messy to create an array for every object aside from the ship? If only there was some sort of "not x_actor" command.

avatar image Iotti Sep 19 '17 at 01:26 PM

On project settings you can create a collision filter for that, you can create a collision channel called "player ship" and another one called "bomb" then set them to not collide each other.

avatar image Entropikz Sep 19 '17 at 03:35 PM

Iotti is right. You'll want to set up a trace channel if its going to be that intensive.

(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