[ODE] rolling contact force

Shamyl Zakariya shamyl at zakariya.net
Fri Oct 8 22:25:26 MST 2004


I was expecting to use some sort of threshold, e.g., as long as it's 
less than some distance it would stick.

But yes, of course, there's only one way to find out!

Shamyl Zakariya
   "this is, after all, one of those movies where people spend a great
   deal of time looking at things and pointing."
	From a review of _Fantastic Voyage_

On Oct 8, 2004, at 7:43 PM, Dimitris Papavasiliou wrote:

> 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.
>
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
>



More information about the ODE mailing list