[ODE] Re: problem with dBodyAddRelForce. help, I'm desperate

asko asko at jetti.org
Mon Jul 28 10:40:02 2003


This is a multi-part message in MIME format.

------=_NextPart_000_0009_01C35548.ABB6DC40
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hey,

I saw your post in the mailing list archive and I'm amazed by the fact =
that I ran in to this exact same problem about the same time you sent =
the mail.

I'm making a raycast car and this thing seems like the only problem left =
to solve. I'm using the raycasts for creating contact joints and for =
steering/driving im directly adding forces to the chassis.

Seems that when the chassis is heading at some other angle than n*45 and =
a force is added to the Z-axis, the chassis will not actually move along =
it's relative Z-axis, instead (pretty much) along the closest n*45 =
direction. I also tried directly changing the linear velocity, but seems =
that the situation is exactly same that way.

After playing around with the contact parameters, I came to the =
conclusion that the problem is actually somewhere in the friction model. =
None of these problems appear when friction is set to 0.

However that isn't much of a solution, at least not for me. So I'm all =
ears for suggestions.
------=_NextPart_000_0009_01C35548.ABB6DC40
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hey,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I saw your post in the mailing list =
archive and I'm=20
amazed by the fact that I ran in to this exact same problem about the =
same time=20
you sent the mail.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm&nbsp;making a raycast&nbsp;car and =
this thing=20
seems like the only problem left to solve. I'm using the =
raycasts&nbsp;for=20
creating&nbsp;contact joints&nbsp;and for steering/driving im directly =
adding=20
forces to the chassis.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Seems that&nbsp;when&nbsp;the chassis=20
is&nbsp;heading at some other angle than&nbsp;n*45&nbsp;and a force is =
added to=20
the Z-axis, the chassis will not actually&nbsp;move along&nbsp;it's =
relative=20
Z-axis, instead (pretty much)&nbsp;along the closest n*45 direction.=20
</FONT><FONT face=3DArial size=3D2>I also&nbsp;tried directly changing =
the linear=20
velocity, but seems that the situation is exactly same that =
way.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>After&nbsp;playing around with the =
contact=20
parameters,&nbsp;I came to the conclusion that the problem is actually =
somewhere=20
in the friction model. None of these problems appear when friction is=20
set&nbsp;to 0.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>However that isn't much of a solution, =
at least not=20
for me. So I'm all ears for suggestions.</FONT></DIV></BODY></HTML>

------=_NextPart_000_0009_01C35548.ABB6DC40--