[ODE] How many contacts for dCollide () ?
Vianney Lecroart
acemtp at gmail.com
Mon Sep 17 23:40:34 MST 2007
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) <hplus-ode at mindcontrol.org> 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
> > ODE at ode.org
> > http://ode.org/mailman/listinfo/ode
> >
> >
> >
>
More information about the ODE
mailing list