Description

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.

 

Steps to Reproduce

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.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-77891 in the post.

0
Login to Vote

Fixed
ComponentUE - Anim - Sequencer
Affects Versions4.214.22.3
Target Fix4.23
Fix Commit7774519
Main Commit7774520
Release Commit7774519
CreatedJul 25, 2019
ResolvedAug 5, 2019
UpdatedAug 9, 2019
View Jira Issue