How to make a particle systems Initial location affected by box size?
actor blueprint with a box component and a particle system in it.
i want the particles to spawn in the area of the box.... so how do i change the particlesystems initial location with the box's size??
asked Apr 05 '14 at 07:20 PM in Blueprint Scripting
Did you try using a timeline to change the vector values over time? This works if you set initialLocation to a constantCurve and animate that curve over time...so I expect it would work with a Blueprint.
Another method would be to setup a particle parameter on a shape location, and modify it in a similar manner. This I know works, check the images below.
Hope that helps you!
answered Apr 09 '14 at 10:34 PM
If you take a look at the Effects map inside the Content Examples project, there are some examples in there that might be what you are looking for. Example 1.3 deals with Emitters Initial Location, you may also find useful section 2.2 on Global Vector Fields.
These might point you in the right direction.
answered Apr 05 '14 at 07:59 PM
DizzyWes ♦♦ STAFF
You will want to use a particleParameter with your initial position, then create a vector variable, and modify that parameter via your variable in your Blueprint.
Here's a link to ParticleParameter info.
k i set a vector parameter, but i couldnt get it to spread based on that vector.
so i have a box component that when i scale it i want the particle system to increase the location spread with it.
but this method seemed to only allow me to define a single point for all particles to spawn.
answered Apr 09 '14 at 07:09 AM
When searching for a topic, this link is in the first place, so I'll post it here. If you need to have particles appearing in the volume of the box, you can use the World Offset Module. Set up start location distribution to vector uniform, then adjust the box boundaries. You can also enable visualization of the bounding box by checking 3DDraw Mode. In this way, you can set up the emitter in the form of a plane or box
answered Oct 09 '17 at 09:22 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here