[ODE] Objects get stuck in wall

Shiva Danis shivadanis at sympatico.ca
Fri Feb 21 12:12:01 2003


This is a multi-part message in MIME format.

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

hi,

    I'm having a problem with objects getting stuck within another =
object(a wall) when angular velocity is too high and thus bypasses =
collision detection. The object then get sstuck inside, spinning like =
crazy, because I figure it keeps colliding when it tries to bounce out. =
I tried diminishing step size, but it still happens. My only solution at =
this point is to slow down objects but this is really bad visually. Also =
I tried capping velocity speed to a max limit but it still happens if =
object is close to the wall before step happens. Also I can't see how =
raycasting can work for me since problem comes from Angular Velocity, =
like swinging a bat thru a wall and it getting stuck inside. Any =
suggestion would be much appreciated.

Thx.

shiva danis

------=_NextPart_000_0013_01C2D9B3.AECC6780
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 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&nbsp;&nbsp;&nbsp; I'm having a problem =
with=20
objects getting stuck within another object(a wall) when angular =
velocity is too=20
high and thus bypasses collision detection. The object then get sstuck =
inside,=20
spinning like crazy, because I figure it keeps colliding when it tries =
to bounce=20
out. I&nbsp;tried diminishing step size, but it still happens. My only =
solution=20
at this point is to slow down objects but this is really bad visually. =
Also I=20
tried capping velocity speed to a max limit but it still happens if =
object is=20
close to the wall before step happens. Also I can't see how raycasting =
can work=20
for me since problem comes from Angular Velocity, like swinging a bat =
thru a=20
wall and it getting stuck inside. Any suggestion would be much=20
appreciated.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thx.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>shiva danis</FONT></DIV></BODY></HTML>

------=_NextPart_000_0013_01C2D9B3.AECC6780--