From: Simon W. <sim...@gm...> - 2006-01-09 01:14:06
|
On 1/9/06, Matthias Baas <ba...@ir...> wrote: > Apart from that, I'm not sure if your technique is a good idea at all. I > wouldn't be surprised if the simulation does weird things sooner or > later because ODE smashes the objects from one plane to the other and > accumulates high velocities in your undesired third dimension. > You may probably want to set the Z values of all positions and > velocities to zero after each simulation step (in which case the above > planes might even be superfluous). Hmm I might try this. > Of course, the best solution would be to switch to a true 2D simulator > as this one could be much more efficient than a full 3D simulator > projected back to 2D. Thanks for the feedback. I agree, however, I cannot find a 2D simulator. Do you know of any such thing? Before I started using ODE, I started coding a 2D simulator using Numeric. However, my knowledge of physics is not enough to finish the job. -Sw. |