-
The example of procedural animation might not be very clear about procedural animation on a bone |
Beta Was this translation helpful? Give feedback.
Answered by
ykafia
Mar 1, 2021
Replies: 1 comment
-
Self answering Assuming you've got a function creating a curve for a rotation var clip = new AnimationClip { Duration = TimeSpan.FromSeconds(1) };
clip.AddCurve("[ModelComponent.Key].Skeleton.NodeTransformations[1].Transform.Rotation", CreateRotationCurve()); When you add a curve, the string should specify |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ykafia
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Self answering
Assuming you've got a function creating a curve for a rotation
When you add a curve, the string should specify
[ModelComponent.Key]
to access the model component. From there, you have to reach the skeleton'sNodeTransformations