Phobius
01-08-2008 12:14:10
Greetings,
I am having a little bit of a hard time understanding the meaning of the various parameters of the step-handler. First up, I'll state what I think the step-time is and if I'm wrong, please correct me. The step time is the number of iterations ODE will perform when it gets its turn to crunch some numbers (an update() call or something from OgreODE). The more times it iterates (or to rephrase, the smaller the iteration), the more precise the simulation is.
Now, OgreODE also presents some additional arguments in its stepHandler. stepSize I'm assuming is the same as the step-time; again, please correct me if this is not so. I haven't the foggiest what maxInterval is all about. The timeScale variable looks like some sort of scale at which the stepSize is weighed with. Kind of like some ratio. What it does I do not know.
Any clarification on these would be appreciated.
Thanks.
I am having a little bit of a hard time understanding the meaning of the various parameters of the step-handler. First up, I'll state what I think the step-time is and if I'm wrong, please correct me. The step time is the number of iterations ODE will perform when it gets its turn to crunch some numbers (an update() call or something from OgreODE). The more times it iterates (or to rephrase, the smaller the iteration), the more precise the simulation is.
Now, OgreODE also presents some additional arguments in its stepHandler. stepSize I'm assuming is the same as the step-time; again, please correct me if this is not so. I haven't the foggiest what maxInterval is all about. The timeScale variable looks like some sort of scale at which the stepSize is weighed with. Kind of like some ratio. What it does I do not know.
Any clarification on these would be appreciated.
Thanks.