Antwort: [ODE] About modifying some properties by hand (newbie question)

James Arthur teamonkey at gmail.com
Fri Jul 9 16:34:39 MST 2004


On Fri, 9 Jul 2004 15:38:00 +0200, michael.rauh at eads.com
<michael.rauh at eads.com> wrote:
> However, can i modify the velocity by hand, while still maintaining the
> physical integrity? Or do i always have to apply forces?

I think that you can only use forces:

1) Look at where you want the body to be at the end of the next step
2) Work out the velocity needed to get the body there by the end of that step
3) Subtract the current velocity of the body from that - that's the
mean velocity needed
4) Calculate the amount of force needed to supply that mean velocity
by the end of the step

For step 4 you should probably apply a reasonable limit to the amount
of force you can apply.

I think it was Jon who suggested this method for a different problem recently?

Cheers

James


More information about the ODE mailing list