- Home /
[Solved]AnimationClip.SetCurve error
Hello,
I am using Unity 3.4.2f3 and I am making my own object importer to load Meshes at runtime. So far I have no issues with creating the mesh and bones procedurally with the data from the file. But when I add the animation curves, every time I add a curve of "local.position.y" I get this in the log
"dx == 0.0F"
Can anyone explain what is happening. I have no errors with the other curves
thanks
Answer by viejodani · Jan 12, 2012 at 04:57 PM
Forget it. I found the solution to the issue, which is the weirdest thing because the documentation is not very clear on this.
"localPosition.y" does not work but "m_localposition.y" does and I had to change all animation curve names
Wow! thanks a lot man. This was racking my brain why I was getting a (!missing) warning on all my properties in the animation tab.
Just added "m_SizeDelta.y" worked, but "SizeDelta.y" would not. So very weird.
Your answer
Follow this Question
Related Questions
Scripted animation not working 1 Answer
Scripted Animation Not Playing 0 Answers
SetCurve not working for me. 1 Answer
setcurve doesn't work at runtime in some case 0 Answers
Reading anim files at runtime 0 Answers