0
$\begingroup$

I have an action actuator that plays an animation (in "play" mode) and stores the "frame property" in a property called "frame". When the animation ends, I believe the "frame property" should go back to 1 (I've seen this behavior in some tutorials), but this does not happen. Why is that so?

enter image description here

$\endgroup$
  • $\begingroup$ do you want the action animation to be cyclic (loop forever) ? $\endgroup$ – user2816 May 30 '16 at 10:36
  • $\begingroup$ No i just want the "frame property" to go back to 1 when the animation ends. It stops to 30 instead. $\endgroup$ – Nicola Masotti May 30 '16 at 10:40
  • $\begingroup$ I don't know what the rest of your logic looks like , but won't something like this works ? $\endgroup$ – user2816 May 30 '16 at 10:45
  • 1
    $\begingroup$ You can also do the opposite.The action actuator sets the "frame" property to the current "frame" value of the animation being played. $\endgroup$ – Nicola Masotti May 30 '16 at 11:23
  • 1
    $\begingroup$ Better use the actuator sensor to measure when the action actuator deactivates itself. Check this one: blender.stackexchange.com/questions/39456/… $\endgroup$ – Monster Jun 1 '16 at 9:00
0
$\begingroup$

Similar to R00ts suggestion, the following workaround achieves what you are aiming for. Once an animation is finished, it plays it again, but with the end frame set to zero, effectively resetting the animation to its start. enter image description here

$\endgroup$
  • $\begingroup$ Makes sense. Still, i would like to know if "not going back to frame one" at the end of the animation is to be considered standard behavior or it's rather a bug... $\endgroup$ – Nicola Masotti May 30 '16 at 22:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.