[ODE] How can I modify the grip of the wheels?

Steve Baker sjbaker1 at airmail.net
Fri Oct 10 08:28:48 MST 2003


INFO wrote:
> I apologize me for my English 
>  
> How can I modify the grip of the wheels?   
>    
> How can I vary the grip of the wheels in relationship to the type of ground?

When the collision detection routine returns a ground contact point, it also
sets the surface.mu, surface.slip1, surface.slip2, surface.soft_erp and
surface.soft_cfm.

Surface.mu already seems to be set to dInfinity in most of the examples - but
slip1 and slip2 are 0.1 in the buggy example.  If you set them down to (say)
0.0001 - then the wheels will be much grippier.

---------------------------- Steve Baker -------------------------
HomeEmail: <sjbaker1 at airmail.net>    WorkEmail: <sjbaker at link.com>
HomePage : http://www.sjbaker.org
Projects : http://plib.sf.net    http://tuxaqfh.sf.net
            http://tuxkart.sf.net http://prettypoly.sf.net
-----BEGIN GEEK CODE BLOCK-----
GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M-
V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++
-----END GEEK CODE BLOCK-----



More information about the ODE mailing list