Orbiter-Forum  

Go Back   Orbiter-Forum > Orbiter Space Flight Simulator > Orbiter SDK
Register Blogs Orbinauts List Social Groups FAQ Projects Mark Forums Read

Orbiter SDK Orbiter software developers post your questions and answers about the SDK, the API interface, LUA, meshing, etc.

Reply
 
Thread Tools
Old 11-20-2017, 10:54 PM   #1
GLS
Addon Developer
 
GLS's Avatar
Question Purpose of clbkAnimate()

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?
GLS is online now   Reply With Quote
Old 12-04-2017, 09:56 PM   #2
GLS
Addon Developer
 
GLS's Avatar
Default

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).
GLS is online now   Reply With Quote
Reply

  Orbiter-Forum > Orbiter Space Flight Simulator > Orbiter SDK


Thread Tools

Posting Rules
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Jump


All times are GMT. The time now is 01:05 PM.

Quick Links Need Help?


About Us | Rules & Guidelines | TOS Policy | Privacy Policy

Orbiter-Forum is hosted at Orbithangar.com
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright 2007 - 2017, Orbiter-Forum.com. All rights reserved.