[Opensim-dev] Questions about Vehicle scripting calls

Kevin Cozens kevin at ve3syb.ca
Wed Jul 4 21:53:12 UTC 2012


On 12-06-08 06:15 PM, Mike Higgins wrote:
> Then I looked in the ODEDynamics.cs code where, starting at line 663, the
> comments from KF say "So far I have found no good method to combine a
> script-requested .Z velocity and gravity". Then he proceeds to replace the
> requested linear motor Z value with the current Z velocity of the body.
> Since a balloon is buoyant, the Z of the current velocity is always 0 and
> this looks like it is probably the problem. It always resets the linear
> motor Z value to 0 here. I'll have to think about what should be done here...

Nice catch, Mike. Have you had time to investigate this any further?

-- 
Cheers!

Kevin.

http://www.ve3syb.ca/           |"Nerds make the shiny things that distract
Owner of Elecraft K2 #2172      | the mouth-breathers, and that's why we're
                                 | powerful!"
#include <disclaimer/favourite> |             --Chris Hardwick



More information about the Opensim-dev mailing list