Solution to RE: RE: [ODE] Implementing genuine Coulomb friction
Thomas Harte
thomasharte at lycos.co.uk
Fri Dec 27 07:03:02 2002
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--=_NextPart_Lycos_0275671040997676_ID
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
>Why not make sure that's the case and contribute the code? Make it selectable
>somehow, and I can't see why Russ wouldn't accept it.
I have come up with a solution of particular simplicity. For a friction cone, I work out the
direction (perpendicular to the contact constraint normal) of body motion, and simply set
that as fdir1. The principle costs of which are one cross product, two dot products and a
sqrt.
If mu and mu2 are in use, I use a friction oval, which means doing exactly the same as
before, but this time working out mu as the distance from the centre to the boundary of
the oval if heading along fdir. This costs another sqrt.
To me, these seem like good solutions. Are they?
-Thomas
When words aren't enough - Vodafone live! A new world of colour, sounds, picture messages and information on your mobile. <a href="http://ad.doubleclick.net/clk;4909903;7724245;q?http://www.vodafone.co.uk/live">
Click here</a> to find out more.
--=_NextPart_Lycos_0275671040997676_ID--