Quantcast
Channel: Answers for "How to access AnimationCurve at runtime"
Browsing all 7 articles
Browse latest View live

Answer by Statement

What way do you intend to use it? Here's an example usage for animating a light turn on through Evaluate. You edit the AnimationCurve in the inspector. You can also give it some simple default value...

View Article



Answer by Statement

You can't getAnimationCurves from an AnimationClip. Strangely/sadly you can only set or add curves. You'll have to keep track of any curves you create procedurally, in a dictionary for instance.

View Article

Answer by Varaughe

If you want to edit at runtime an animation curve,check this out: http://u3d.as/content/rus-artur-pfa/runtime-curve-editor (new version available ! )

View Article

Answer by Statement

What way do you intend to use it? Here's an example usage for animating a light turn on through Evaluate. You edit the AnimationCurve in the inspector. You can also give it some simple default value...

View Article

Answer by Statement

You can't getAnimationCurves from an AnimationClip. Strangely/sadly you can only set or add curves. You'll have to keep track of any curves you create procedurally, in a dictionary for instance.

View Article


Answer by Varaughe

If you want to edit at runtime an animation curve,check this out: http://u3d.as/content/rus-artur-pfa/runtime-curve-editor (new version available ! )

View Article

Answer by hunterzone

AnimationCurve curveX = AnimationUtility.GetEditorCurve(ac, "Bip01", typeof(Transform), "m_LocalPosition.x"); it's ok in editor mode.

View Article
Browsing all 7 articles
Browse latest View live




Latest Images