Purpose:
Create a parent-child relationship using the “Attach Track”
After that, I want to release Attach in the middle of the sequence and leave the child.
Set "When Finished" of "Attach Track" to "RestoreState",
I thought it would be possible if "DetachmentRules" was set to "KeepWorld", but it did not behave as expected.
When "Attach Track" "When Finished" is set to "RestoreState",
MovieScene3DAttachTemplate.cpp
Although it seems to maintain world coordinates by F3DAttachTrackPreAnimatedToken :: RestoreState ()
after that,
Coordinates before attachment are restored by FMovieScenePreAnimatedState :: RestorePreAnimatedState.
Licensee pointed out that "DetachRule" does not seem to make much sense in the current operation.
Purpose:
Create a parent-child relationship using the “Attach Track”
After that, I want to release Attach in the middle of the sequence and leave the child.
1. Create a "Level Sequence" and create an "Attach Track".
2. Create a parent-child relationship.
3. Set "When Finished" to "RestoreState" and set "DetachmentRules" to "KeepWorld".
Result:
The child returns to its original position.
I attached a project file.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-77891 in the post.
0 |
Component | UE - Anim - Sequencer |
---|---|
Affects Versions | 4.21, 4.22.3 |
Target Fix | 4.23 |
Created | Jul 25, 2019 |
---|---|
Resolved | Aug 5, 2019 |
Updated | Aug 9, 2019 |