Quantcast
Channel: Answers for "How to access AnimationCurve at runtime"
Browsing latest articles
Browse All 7 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 hunterzone

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

View Article
Browsing latest articles
Browse All 7 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>