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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Creating an animation blueprint with C++

Hello, Unreal community!

I am looking for a way to procedurally create an Animation Blueprint in C++. By that, I mean manipulating bones of a Skeleton by using arrays of bone names/translations/rotations that I get from a C++ class . To give some context, that class gets MoCap data coming in from TCP.

More specifically, I need to

  1. Create variables in the Animation Instance - floats, vectors, rotators

  2. Create an entire Anim Graph with code - getting an Animation Pose, creating Modify Bone nodes, applying the translation/rotations to the corresponding nodes, outputting that to Final Pose

  3. Assign values from my C++ TArrays to the procedurally generated Animation Instance variables

I found this Wiki entry from the knowledgeable Rama, which helped me understand how to extend the AnimBlueprint.h, but the process in step 2 is still a mystery.

I would appreciate any help with this. Best regards :)

Product Version: UE 4.10
more ▼

asked Dec 10 '15 at 11:23 AM in C++ Programming

avatar image

95 7 8 12

avatar image rantrod Dec 11 '15 at 07:17 AM

I'd really like to know #2 as well. It has eluded me for some time.

avatar image Kassym123 Dec 11 '15 at 09:14 AM

I posted this on Facebook's UE dev community, and a guy called Leon Rosengarten, who wrote a Kinect plugin, sent me a link to his source code, which apparently does that.

I still haven't looked into the code, and as soon as I have a definitive answer on how to do that I'll mark this as resolved and post specific instructions, but if you want to check it out for yourself, here's the link. You need to link your Github account to UE to view this.

avatar image akisawaNoMikato Jan 24 '19 at 01:19 PM

Do you have Github account? Can you publish this code?

(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