animation questions, round two

Heya again all,

Is it possible to either force an Update() call on an object, or to force animation to update outside of an Update() call? It seems like the animation frames only get incremented during updates, but I’ve tried calling Update() and it seems to have no effect.

In line with my last post, I’m now trying to get pausing and rewinding to work at the same time. However, if I pause and set AnimationState.time to 0.01 during the same frame the last frame stays visible on-screen, which is undesired behavior. If there isn’t a way I’m sure I could do it on the next frame with extra variables, but I figure there should be away already.

Thanks again in advance.

What are you doing to “pause”? If you set the AnimationState.time before invoking the pausing functionality, you should be all set.

That’s what I’ve been doing, actually. Also, last night I dreamt in code and came up with a better solution: set an external variable to a constant value and leave the animation running, every frame continuing to update AnimationState.time.

I’m not the best programmer in the world, so sometimes it takes me a bit to see the easy solutions. ^_^;