IsAnimationOver

From MaratisWiki
Revision as of 10:16, 8 November 2012 by Vegas (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Do something when the current animation has finished playing. Note that it also apply to looped animations.

Basic use :

   object = getObject("object")
   function onSceneUpdate()
           if isAnimationOver(object) then
               --do something 
           end   
   end
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox