[Request] IPO callback, animation done trigger
2 posters
[Request] IPO callback, animation done trigger
Hi, it would be nice to have notification from sio2IpoCurveRender() to either change the state of the IPO curve (NON_CYCLICAL_DONE?) or provide a callback when a rendering stream is completed.
This would help with an in-game "flyby" of a scene done at the beginning of gameplay, ie., a one-time event.
I'll submit code if I make any changes to the engine, but I might just handle this with an NSTimer.
--yarri
This would help with an in-game "flyby" of a scene done at the beginning of gameplay, ie., a one-time event.
I'll submit code if I make any changes to the engine, but I might just handle this with an NSTimer.
--yarri
yarri- Posts : 81
Join date : 2009-04-10
Re: [Request] IPO callback, animation done trigger
Simply monitor the state of the curve and set it to constant. When the renderer reach the end of the control points the state will be set to SIO2_IPO_STOP.
Similar topics
» animation completed callback?
» Request: code comments
» tutorial request
» Code Response(s) on features & Request(s)
» REQUEST: Lua to Python
» Request: code comments
» tutorial request
» Code Response(s) on features & Request(s)
» REQUEST: Lua to Python
Permissions in this forum:
You cannot reply to topics in this forum