Re: How many contacts for dCollide () ?
"Vianney Lecroart" <[email protected]>
| Newsgroups | gmane.comp.lib.ode |
|---|---|
| Message-ID | <[email protected]> |
The real problem with 128 is that you have to setup the 128 contact with correct values for each collision. So if you have 10 collisions and you run the simulation every 1 ms, you have 128*10*1000 = 1 280 000 contact setup per second. On 17/09/2007, Jon Watte (ODE) <[email protected]> wrote: > 128 is fine, if perhaps a little much. The only time you'll actually get > 128 contacts back is when you're doing trimesh->trimesh, or when you > have a large geom embedded into a trimesh with lots of small triangles. > > Cheers, > > / h+ > > > Vianney Lecroart wrote: > > Hello all, > > > > I looked at the FAQ, doc, google and I didn't find the answer. > > > > Currently I use an array with 128 contacts to call dCollide() but I > > don't know if it's a lot too much or not. > > > > What is the size of the array you use in your application? > > > > Regards. > > _______________________________________________ > > ODE mailing list > > [email protected] > > http://ode.org/mailman/listinfo/ode > > > > > > >