[ODE] Newbie question - my sphere's position occasionally goes to -1#IND000.
Denny Bromley
denny at ingeeni.com
Wed Aug 27 09:19:02 2003
This is a multi-part message in MIME format.
------=_NextPart_000_0055_01C36C95.42AF2F90
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hey guys,
Sorry for the probably newbie question, but I'm stumped.
I made a world that has a sphere and gravity.
I made a space that has a sphere (bound to the world sphere using =
dGeomSetBody) and a plane defined as
<0,1,0,0> (a,b,c,d).
I pretty much copied verbatim the nearCallback function from the =
test_boxStack example.
When i drop a ball from 10 meters, it hits the ground, bounces a bit, =
and then sits there. Looks great.
Occasionally, though, after it sits there for a moment, it just =
dissapears and the numbers returned
from dBodyGetPosition are all -1#IND000.
Any ideas? I am using our own graphics engine, but since those numbers =
are coming straight out of
ODE, I figured that I was probably breaking something in the physics =
model.
I'm using the recent .039 build.
Thanks, I totally appreciate any help.
-Denny-
------=_NextPart_000_0055_01C36C95.42AF2F90
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 guys,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Sorry for the probably newbie question, =
but I'm=20
stumped.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I made a world that has a sphere and=20
gravity.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I made a space that has a sphere (bound =
to the=20
world sphere using dGeomSetBody) and a plane defined as</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><0,1,0,0> (a,b,c,d).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I pretty much copied verbatim the =
nearCallback=20
function from the test_boxStack example.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>When i drop a ball from 10 meters, it =
hits the=20
ground, bounces a bit, and then sits there. Looks =
great.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Occasionally, though, after it sits =
there for a=20
moment, it just dissapears and the numbers returned</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>from dBodyGetPosition are all=20
-1#IND000.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Any ideas? I am using our own =
graphics=20
engine, but since those numbers are coming straight out of</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>ODE, I figured that I was probably =
breaking=20
something in the physics model.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I'm using the recent .039 =
build.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Thanks, I totally appreciate any =
help.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>-Denny-</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV></BODY></HTML>
------=_NextPart_000_0055_01C36C95.42AF2F90--