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"

Help with creating a fireball

So my character shoots a fireball projectile, and it works perfectly except that it just passes through objects, I need it to be destroyed when it collides with anything. I've tried a dozen and one tutorials trying to make it work properly but I can't for the life of me figure it out. Could someone point me in the right direction?

Product Version: UE 4.11
more ▼

asked Apr 19 '16 at 07:52 PM in Blueprint Scripting

avatar image

8 3 4

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

1 answer: sort voted first

You need to enable collision on both your fireball and the object it collides with.

One easy way to do this is to check Simulation Generates Hit Events [x] and set the Collision Preset to BlockAll. Again, this needs to be set on both objects that will be colliding with eachother.

more ▼

answered Apr 19 '16 at 07:56 PM

avatar image

2.1k 67 84 77

avatar image souHad Apr 19 '16 at 09:10 PM

I did that, it doesn't seem to be doing anything

avatar image CleanCut Apr 19 '16 at 10:48 PM

Can you post screenshots of the collision sections of the two objects?

avatar image souHad Apr 20 '16 at 04:03 PM

here you go

fireball.png (61.0 kB)
object.png (28.1 kB)
avatar image CleanCut Apr 20 '16 at 05:56 PM

Your fireball is set to Query Only (No Physics Collision) -- which, as it says, disables physics collisions. Change it to Collision Enabled (Query and Physics) or Physics Only (No Query Collision) depending on whether you also want overlap events or not.

avatar image souHad Apr 20 '16 at 07:40 PM

I tried that, it still didn't work

(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