Key animation frame
Blitz3D Forums/Blitz3D Beginners Area/Key animation frame
| ||
Hi, I don't know how to show an entity to a specified animation frame. Thanks! |
| ||
SetAnimTime() |
| ||
Yeah, it's a strangely named command. AnimTime() alos returns the current animation FRAME, rather than the time elapsed. Again, strangely named. |
| ||
According to Blitz3D manual SetAnimTime has three parameters (the third is optional) The second one, time#, is a floating point number and not an integer. what is the value of time# if I want to animate an entity to the n-th frame? |
| ||
Using a time value of, for example, 3.5, will set the animation to midway between frame 3 and frame 4. You could add a time step of, say, 0.01 to the time parameter to achieve a slow motion effect. I know I sound like Captain Obvious, but I do see why it might need explaining. |
| ||
Thanks Gfk :) |