Get and modify animation clip keyframes using a script?
Hi, I'm animating segmented 2d sprites using animation clips, and I'm arranging the order on which the sprites show on top of each other using their Z position value with a script what just sort them in the order they are in an array, but when I animate them, the z position value gets animated as well
is there a way to set the z value of all the position keyframes to the value I want using a script? I don't need this to work at runtime just when I'm making the animations. Also I'm not using sprite layers because the sprite are 3d planes that use a 3d shader, not a sprite shader.
Your answer
Follow this Question
Related Questions
Controlling animation editor programatically 0 Answers
Editor Script - Assign Anims to Animator Override Controller 0 Answers
Applying values from an animationClip to bones of a skinnedMesh via code? 0 Answers
How to copy and paste animation events from one clip to another if those clips are included in FBXs? 1 Answer
Ragdoll Collider problem 0 Answers