[ODE] Creating a spinning object unaffected by collisions

Keith Johnston kjohnston at iname.com
Sat Jan 11 09:59:02 2003


This is a multi-part message in MIME format.

------=_NextPart_000_0008_01C2B960.09A17390
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

What's the best way to create a spinning object that doesn't get slowed
down by things colliding with it?  I tried the one-way collision
technique - but the interpenetration problem cropped up.  If I have the
collision go both ways - then when an object collides with the spinning
object, the object slows down.
 
Also - it seems I have to attach two hinges to the spinning object to
keep it from wobbling.  Is that expected behavior?  At first I thought I
would just need a single hinge.
 
Finally, I tried using dJointSetHingeParam and the dParamVel and
dParamFMax to get the object rotating at a fixed speed.  Setting these
paramaters didn't seem to do anything though.  Are they supported on the
hinge joint?
 
Thanks,
Keith

------=_NextPart_000_0008_01C2B960.09A17390
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D979095216-11012003><FONT face=3DArial size=3D2>What's =
the best way=20
to create a spinning object that doesn't get slowed down by things =
colliding=20
with it?&nbsp; I tried the one-way collision technique - but the=20
interpenetration problem cropped up.&nbsp; If I have the collision go =
both ways=20
- then when an object collides with the spinning object, the object =
slows=20
down.</FONT></SPAN></DIV>
<DIV><SPAN class=3D979095216-11012003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D979095216-11012003><FONT face=3DArial size=3D2>Also - =
it seems I=20
have to attach two hinges to the spinning object to keep it from =
wobbling.&nbsp;=20
Is that expected behavior?&nbsp; At first I thought I would just need a =
single=20
hinge.</FONT></SPAN></DIV>
<DIV><SPAN class=3D979095216-11012003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D979095216-11012003><FONT face=3DArial =
size=3D2>Finally, I tried=20
using dJointSetHingeParam and the dParamVel and dParamFMax to get the =
object=20
rotating at a fixed speed.&nbsp; Setting these paramaters didn't seem to =
do=20
anything though.&nbsp; Are they supported on the hinge=20
joint?</FONT></SPAN></DIV>
<DIV><SPAN class=3D979095216-11012003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D979095216-11012003><FONT face=3DArial=20
size=3D2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=3D979095216-11012003><FONT face=3DArial=20
size=3D2>Keith</FONT></SPAN></DIV></BODY></HTML>

------=_NextPart_000_0008_01C2B960.09A17390--