[ODE] Simples Car Possible (for traffic)

kurimail kurimail at arrakis.es
Tue Mar 14 04:05:42 MST 2006


Thanks for all your answer. I have decided to use the simplest car i can
imagine. It is an only body, with 6 geoms:

- 2 boxes for the chassis
- 4 spheres for the wheels

all stick together.

then i apply forces and torque to make it drive.

at slow speeds the solution is good, i can have lot of traffic with no
slow down. although the cars behave like statues, hehe, but it is only for
traffic.

Cheers, KuRi!

> It seems to me you need a very simple model for detecting car collisions
> while having a simple solution to drive your cars around the world. I
> would
> suggest using OpenSteer (http://opensteer.sourceforge.net/) for your city
> traffic driving needs. It should automatically handle city traffic with
> collision avoidance. If you need better physics, you always have ODE.
>
> -----Original Message-----
> From: ode-bounces at q12.org [mailto:ode-bounces at q12.org] On Behalf Of
> kurimail
> Sent: Tuesday, March 14, 2006 1:24 AM
> To: ode at q12.org
> Subject: Re: [ODE] Simples Car Possible (for traffic)
>
> Thanks for your answer. I had been looking at the raycar model of Jon, but
> it is too complex for what i need.
>
> How do i attach the 4-rays to the box?
>
> i am looking for something easier, with no suspension, easy steer...
>
>> The absolute simplest car is a box with four rays downcast.  You could
>> get away with a box and a single ray if you were willing to never let
>> the cars roll or otherwise topple (and then, assumedly, detect
>> conditions that "launch" the car, like explosions, and give it a 4-ray
>> model only then).
>>
>> ... but try the 4-ray model first, and for that, Jon's excellent
>> carworld example will show you everything you need to know.
>>
>> I think the proper URL is still:
>> http://www.mindcontrol.org/~hplus/carworld.html, but you might want to
>> search the list archives to be sure (I think Jon updated it recently).
>>
>> On 3/13/06, kurimail <kurimail at arrakis.es> wrote:
>>> Hi friends. I would like to know what is the fastest and easiest way to
>>> make a car in ode, with fake physics if needed, to simulate traffic.
>>>
>>> I have my own cars for players running very well with 4 hinge2joints,
>>> but
>>> i want to add some traffic. If i use hinge2joints for 20 traffic cars,
>>> things slow down a lot...
>>>
>>> Is there any sample of very very basic car setup?
>>>
>>> Thanks in advance!
>>> _______________________________________________
>>> ODE mailing list
>>> ODE at q12.org
>>> http://q12.org/mailman/listinfo/ode
>>>
>>
>>
>> --
>> -Megan Fox
>> http://shalinor.circustent.us/megan/resume/
>>
>
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
>
>
>
>



More information about the ODE mailing list