Fix root motion preview in animation window
This commit is contained in:
@@ -48,7 +48,7 @@ namespace FlaxEditor.Windows.Assets
|
||||
|
||||
// Use virtual animation graph to playback the animation
|
||||
_animGraph = FlaxEngine.Content.CreateVirtualAsset<AnimationGraph>();
|
||||
_animGraph.InitAsAnimation(model, _window.Asset);
|
||||
_animGraph.InitAsAnimation(model, _window.Asset, true, true);
|
||||
PreviewActor.AnimationGraph = _animGraph;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user