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"

Move all actors in an array at once

Hi all,

So I have an array of actors inside a BP and I'd like to change all of their z coordinates smoothly moving it upwards together so all the actors move up at once. How can I do this?

Product Version: Not Selected
more ▼

asked Feb 21 '15 at 08:17 PM in Blueprint Scripting

avatar image

454 100 84 108

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

1 answer: sort voted first

CPU can't do things to all objects at once, we still don't have quantum computers to do so :p so you need to do that in sequence for each object in array, ForEachLoop node will help you to do so

more ▼

answered Feb 21 '15 at 08:29 PM

avatar image

37.8k 937 172 1123

avatar image ShrewGlue Feb 21 '15 at 09:09 PM

But what if I'm using a timelien to move it?

Woudn't wiring a for each loop into -> a timeline into -> an add actor offset run the timeline-> move actor1 then run timeline-> move actor 2?

avatar image jaragoondoo Feb 21 '15 at 09:53 PM

If you just use a ForEach loop they will all move together at once. It's all done in one CPU cycle/frame.

(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