[ODE] Car simulation (with no wheels) - clever ideas needed

Jon Watte hplus-ode at mindcontrol.org
Fri Mar 19 12:36:44 MST 2004


If you want to simulate and collide a box, why use ODE? Code something super-efficient that ONLY does box and track; that's likely to run faster than any general purpose solution.

Cheers,

			/ h+


-----Original Message-----
From: DjArcas [mailto:DjArcas at Hotmail.com]
Sent: Friday, March 19, 2004 11:03 AM
To: Jon Watte; Nate W; ode at q12.org
Subject: Re: [ODE] Car simulation (with no wheels) - clever ideas needed


Even if they aren't touching, I can't see my modern PC controlling 200 cars!
I've said, I've done this before, and my PC will barely do 30-40 cars,
BEFORE collisions! This is why I want my cars to be no more troublesome to
the collision and resolver than a box. Surely this is possible? :)

Adam

----- Original Message -----
From: "Jon Watte" <hplus-ode at mindcontrol.org>
To: "DjArcas" <djarcas at hotmail.com>; "Nate W" <coding at natew.com>;
<ode at q12.org>
Sent: Friday, March 19, 2004 6:18 PM
Subject: RE: [ODE] Car simulation (with no wheels) - clever ideas needed


>
> > But I'm pretty sure that trying to field, say, a full pack of nascar
cars,
> > each with more accurate chassis than a box, with hinge2s for the wheels,
is
> > going to bring your PC to it's knees.
>
> Let's assume they're all not touching, so that they're all their own
islands. Further, let's assume they're driving on some mesh that has no
body, so it's the fixed environment. Are you sure that a modern PC wouldn't
be able to handle this? Make sure to turn on all optimizations before
profiling this. I don't know how many cars go in a full NASCAR field, but I
know they USUALLY don't collide all that often compared to how often you
step/render.
>
> How to detect pile-up and switch to box-only simulation (and when to snap
out of that) is probably a black art, and where you get to show your skills,
but AFAIK, that's how you can make seemingly intractable simulation problems
actually work in real time for a game.
>
> Cheers,
>
> / h+
>
>
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
>




More information about the ODE mailing list