[ODE] rolling contact force

Dimitris Papavasiliou jimmyp at hal.csd.auth.gr
Sat Oct 9 02:43:01 MST 2004


On Friday 08 October 2004 21:23, Shamyl Zakariya wrote:
> My thoughts on this had been that I'd have to have the spheres apply
> forces along the tangent of the surface they're touching, so if they
> hit a wall they might simply apply an "up" force to crawl up. The
> spheres would have dBodySetGravityMode set to zero, and I'd just apply
> a force pointing torwards the surface they're touching to hold them
> fast.
>
> Does this sound like a reasonable approach? I haven't done anything yet
> as regards "sticky" friction, mainly I'm still working on the player
> driving, camera and gun physics and whatnot.

Unless you set the coefficient of restitution (bounce) to 0 then, once the 
sphere hits the building wall it will rebound and no longer touch the wall. 
This might be a problem. Otherwise your approach should work I suppose, but 
there's only one way to find out.

Dimitris P.



More information about the ODE mailing list