- Home /
Animation Control by frame (use Animation.State.time)
hello there!
I trying to play animations by frames control
because a animation need a model(FBX)
so I try to use one animation to control EX. frame 0~30 move 30~50 attack 50~70 guard
I only know how to set start frame like:animation[X].time=0/30 {FPS is 30 for FBX}
but i make an "if()" such as
~ if(Mathf.Approximately(Body.animation["alla"].time,EndTime/30f)){} ~ EndTime-->float
I had used equal like: ~ if(animation[X].time>=EndTime/30f) ~
both of them don't work
can anyone give me some suggestion or maybe I wrong somewhere
Sorry for my Poor English...
Answer by aryanaqq2 · Mar 01, 2013 at 04:33 PM
I found I'm noob actually..
The Model of Import FBX can "Add Clip" By Frames!!
Your answer
Follow this Question
Related Questions
Animation Time? 2 Answers
How to Control the Animation using Slider ? 3 Answers
timer that can be reset 1 Answer