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"

Spawning particles at array of locations

Hello there, I'm trying to have simple particles be spawned at an array of vectors. Googling I didn't really find much, I can use. I'm working on visualizing the knowledge base of a Roboter. The knowledge base contains a lot of information, about what movement was used in the past to achieve the task he desires. The important part about this is, that I get the information at run time, and then need to manipulate a particle system(PS) via c++, to spawn a particle at each given location.

Here are the ideas I had so far, but none of those seem like a good option to me.

  1. Having the particles be spawned at a high rate at relative (0,0,0), and just teleport the PS to the different locations.

  2. Essentially the first one, but somehow actually only spawning 1 particle at each spot. (This would be easy if there was a way to trigger the spawn/burst by hand, but I did not find a way)

  3. Putting the Array of locations as the array of point in a curve for the initial location, of course under consideration of the spawn Rate, this would essentially achieve, idea 2. However I did not find a way to access this via c++.

If you know a way to get any of these done, I would really appreciate it. I think I should be able to get 1. done myself, but this is obviously highly sub optimal, since it will spawn at multiple particles at the exact same location. If there are other Ideas how to solve this, I'm open to anything, so please tell me.

Thanks!

Edit: Why is the formatting of the list messed up, in the preview it looks fine?

Product Version: UE 4.19
Tags:
more ▼

asked Jun 11 '18 at 03:15 PM in C++ Programming

avatar image

bveit
1 1

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

0 answers: sort voted first
Be the first one to answer this question
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