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"

How to play animation for skeletal meshes in an array?

I have an array of skeletal meshes feeding into a spawn node and then play animation node. The problem is I can't set up the Play Animation node to get the corresponding animations for each skeletal mesh and play them. Any help would be appreciated!

Thanks

Paul

Product Version: UE 4.11
Tags:
more ▼

asked May 23 '16 at 04:41 PM in Blueprint Scripting

avatar image

pauldolan
8 2 3 6

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

1 answer: sort voted first

Hmm without knowing the exact intent i can maybe throw out an idea.

Create a Struct like "MyAwesomeSpawnInfo".

It contains two key/values:

  1. SkeletalMesh (The skeletal mesh class you want to spawn)

  2. Animation (The animation you want to play.)

Your change your array of "SkeletalMesh" to an array of "MyAwesomeSpawnInfo" Structs so you can specify the mesh plus the animation.

more ▼

answered May 23 '16 at 08:05 PM

avatar image

RimmyD
2.6k 98 16 97

avatar image pauldolan May 24 '16 at 09:52 AM

Thanks, structs look like the solution I needed.

(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