[ODE] Friction Problem in 2D mode.

Adam D. Moss adam at gimp.org
Fri Mar 18 17:47:04 MST 2005


Alireza Fasih wrote:
> In 2D mode , I create a pool of balls.
> when I change the friction parameter in code , It has no effects.
[..]
>   begin
>     contact[i].surface.mode := 0;
>     contact[i].surface.mu := 1000;  // <----------  ?????
>   end;
>   numc := dCollide (o1,o2,0,contact[0].geom,sizeof(TdContact));

You need to set the surface parameters AFTER the dCollide.

Regards,
--Adam
-- 
Adam D. Moss   -   adam at gimp.org


More information about the ODE mailing list