How to get painting animation to play once, then disappear?
I've animated a spark for my cigarette lighter, so that when you trigger the flint, a spark comes out. The problem is that it is either on a constant loop, or is frozen on a frame.
I've tried turning off loop in the painting's animation tab, and I've tried turning on "play once" in the Frame-by-Frame tab (and every combination of both).
What am I doing wrong?
-
How is it triggered? I'd add a keyframe to the timeline which makes it visible when triggered I think. Then it won't be frozen on a frame while 'waiting'
-
I think you could try to emit once and animate in sequence
-
I had this - i ended up emitting the painting and then killing it after 0.5s (or whatever time your animation needs) by setting its emit duration
-
Thanks, everyone.
I forgot to mention the way I have it set up.
I have a trigger zone on the flint (which is triggered by the imp), that is connected to the keyframe. The painting is set to invisible, then I make it visible when I record the keyframe. I've done this for the flame (which is a sculpture) and it works fine.
I'll give the emitting thing a go, but my animation is only three frames long, and I also don't want it to shoot up like a firework
I eventually want to make it so that you have to grab and spin the flint to start the animation, but that's a problem for another time. :) -
emitters just emit stuff. you don't have to fire them anywhere - you can set the velocity to 0. I think mine are all about 50:50 firing out or just standing still
Please sign in to leave a comment.