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"

Unable to spawn emitter with blueprint

Hello esteemed Unreal brain trust,

I have spent the better part of the last 4 hours scouring the web for the answer to this problem, but I have been totally unable to use BP to spawn a particle emitter.

I am able to place my emitters in the level from the CB, and they work normally. I created a door animation BP, with the intent being that the door should open once and then "short out" and no longer work. I wanted this to be accompanied by a shower of sparks.

I've attempted the process with both the "Spawn Emitter Attached" function and the "Spawn Emitter at Location" function. I'm using an empty that I placed in the Components window to determine the location I want the emitter to spawn at. I've also tried leaving the location disconnected and using a real time wire view to see if the emitter is spawning somewhere else in the level. It doesn't appear to be.

Please help! :)

alt text

Product Version: Not Selected
Tags:
more ▼

asked Nov 06 '14 at 08:46 PM in Blueprint Scripting

avatar image

ampace
6 1 2 3

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

1 answer: sort voted first

Hey ampace,

Spawn Emitter works fine for me in 4.5.1. The only known issue with Emitters in Blueprints is that collision modules in the emitter won't work properly. So if you are spawning the emitter at a location right above the floor, for example, the particles will fall straight down and you might not see it.

Have you tried this with any of the Starter Content emitters with the same result?

A good way to check to see if the emitter is being spawned is to use the Is Valid node after the Spawn Emitter node. It would look like this:

alt text

If it is in fact being spawned, then it's just a matter of figuring out where and why. I would start with the variables you're feeding into the Location and Attach to Component (using Print Strings for their locations) and using an emitter with a longer life-span (or unchecking Auto Destroy).

If it is not being spawned, please let me know and we'll look into it further. Thanks!

emitterisvalid.png (58.8 kB)
more ▼

answered Nov 06 '14 at 10:27 PM

avatar image ampace Nov 06 '14 at 10:32 PM

Ben,

Thanks very much for the response. Just to be clear, I'm actually using version 4.4.3, though I may upgrade soon if this continues to give me problems. I've not tried any of the emitters from the starter content.

The IsValid node is a great tip. I will start here and see what falls out.

Cheers!

avatar image Ben Halliday STAFF Nov 06 '14 at 10:41 PM

I just checked in 4.4.3 and still didn't have an issue. Let me know when you get a chance to try out those suggestions!

avatar image ampace Nov 06 '14 at 10:48 PM

The emitter spawned! Here was the problem:

I placed a Custom Mesh object in my BP scene to tell BP where I wanted the particles to spawn. Instead of using the Get World Location function to get the spawn location's vector, I was initially using the Get Forward Vector function.

Thanks again for the help. Got me on the right track.

Here are some screenies: alt text

alt text

solved.png (260.2 kB)
particleloc.png (535.2 kB)
(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