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"

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. 

Export Frame by Frame Result of UAnimInstance

Hi,

I still don't manage the different Animation terms, but I'll try to explain myself.

I need to save the result of what the Animation Instance feeds to the Skeletal Mesh, i.e. the position of the bones.

How can I do it?

Cheers

Product Version: UE 4.16 Preview
Tags:
more ▼

asked May 03 '17 at 06:13 PM in C++ Programming

avatar image

Bionic Ape
129 16 19 24

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

1 answer: sort voted first

You can capture a Pose Asset.

Or you can access the ComponentSpace Bone Transforms directly on the Skeletal mesh.

more ▼

answered May 03 '17 at 06:17 PM

avatar image

OptimisticMonkey
349 7 11 22

avatar image Bionic Ape May 03 '17 at 08:58 PM

Thanks for your reply.

I honestly don't know where to start.

I need to delay 1 frame the space bone transforms from one skeletal mesh to another.

So, I have a custom SkeletalMeshComponent and I extend RefreshBoneTransforms(). This need to copy the Bone Transforms so they can be read later.

I have a custom SkinnedMeshComponent that I also extend RefreshBoneTransforms(). This one needs to read the stored bone transforms and use them.

I don't think I need to use Pose Asset for this.

Thanks for your help

avatar image Bionic Ape May 05 '17 at 06:26 PM

You were right about the pose. I didn't use a pose asset but SnapshotPose

Here's my code:

 SnapshotPose(NewSnapshotPose);        PoseableComponent->BoneSpaceTransforms = OldSnapshotPose.LocalTransforms;
(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