API Question Purpose of clbkAnimate()

GLS

Well-known member
Orbiter Contributor
Addon Developer
Joined
Mar 22, 2008
Messages
5,915
Reaction score
2,920
Points
188
Website
github.com
Can someone explain to me what's the purpose of clbkAnimate()?
Reading the documentation it seems to be a performance gaining mechanism, so instead of calculating the animation position each time step and also calling SetAnimation(), we move the SetAnimation() calls to clbkAnimate() and so it is only called when needed (visual exists)... but I'm not fully convinced.
And then there's this from the clbkAnimate() documentation:
Code:
This callback is not used for the "semi-automatic" animation mechanism
Wa? :uhh:
 

GLS

Well-known member
Orbiter Contributor
Addon Developer
Joined
Mar 22, 2008
Messages
5,915
Reaction score
2,920
Points
188
Website
github.com
In case someone also has the same question, I found out this is explained in section 1.10 of the API_Guide.pdf manual (although some functions have now a different name).
 
Top