animation completed callback?
2 posters
animation completed callback?
Hi all,
I need to know when an animation has finished playing but alas I cannot find any way of determining when an action is finished; is there a way to provide a callback on the SIO2action or another object?
Please help....
Regards,
Corpse.
I need to know when an animation has finished playing but alas I cannot find any way of determining when an action is finished; is there a way to provide a callback on the SIO2action or another object?
Please help....
Regards,
Corpse.
corpseLike- Posts : 1
Join date : 2009-10-25
Re: animation completed callback?
Check tutorial15 for an example of action completion callback.
You can for instance set a callback on the last frame of an action:
Cheers
--Franky
You can for instance set a callback on the last frame of an action:
- Code:
// Set up a callback function that will be executed
// everytime the frame #10 of the kick action will
// be refreshed.
sio2FrameSetCallback( zombie->_SIO2objectanimation->_SIO2action->_SIO2frame[ 10 ], reset_box );
Cheers
--Franky
Francescu- Posts : 136
Join date : 2009-03-18
Similar topics
» [Request] IPO callback, animation done trigger
» Setting a timer callback within a class
» Keyframe Animation
» Keyframe animation
» metaball animation
» Setting a timer callback within a class
» Keyframe Animation
» Keyframe animation
» metaball animation
Permissions in this forum:
You cannot reply to topics in this forum