[ODE] ode/opcode and heavy objects

Jan jan at rpgfan.demon.co.uk
Sat Aug 30 10:44:01 2003


This is a multi-part message in MIME format.

------=_NextPart_000_0041_01C36F27.05ADA6A0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi I'm a newbie here - I've just integrated ODE into my game. It's all
working to an extent, but I'm having problems with stuff not colliding
properly.
=20
Small objects work ok most of the time, but large (and therefore heavy)
objects fall through the collision. They do kind of 'catch' on the
collision but only on one edge of the box. Eventually it falls through
altogether, sometimes smaller objects work their way back out of
collision after getting stuck in it.
If I lower the density the objects don't fall through the floor as =
much.
If I set the density to *0.001 they're mostly ok, even very big ones.
=20
I'm colliding box bodies vs. a trimesh. The large objects will collide
against maybe 100 triangles at a time. The triangles are defenitely the
right way round. Both ODE and OPCODE are in floats. The trimesh is =
about
8000 faces in total.
=20
I've had a similar problem colliding against a plane - I found that if =
I
set my object dimensions to 20,20,50 (as opposed to the 0.2,0.2,0.5 in
the boxstack sample) the object simply passes through the plane. Once I
scaled all my numbers by 1/64 it all worked fine. Is this normal?
=20
I was hoping someone could comment on these findings
=20
Thanks!
--
Jan

------=_NextPart_000_0041_01C36F27.05ADA6A0
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 content=3D"MSHTML 6.00.2800.1226" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>
<DIV><FONT face=3DArial size=3D2>Hi I'm a newbie here - I've just =
integrated ODE=20
into my game. It's all working to an extent, but I'm having problems =
with stuff=20
not colliding properly.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Small objects work ok most of the =
time, but large=20
(and therefore heavy) objects fall through the collision. They do kind =
of=20
'catch' on the collision but only on one edge of the box. Eventually it =
falls=20
through altogether, sometimes smaller objects work their way back out =
of=20
collision after getting stuck in it.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>If I lower the density the objects =
don't fall=20
through the floor as much. If I set the density to *0.001 they're =
mostly ok,=20
even very big ones.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm colliding box bodies vs. a =
trimesh. The large=20
objects will collide against maybe 100 triangles at a time. The =
triangles are=20
defenitely the right way round. Both ODE and OPCODE are in floats. The =
trimesh=20
is about 8000 faces in total.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I've had a similar problem colliding =
against a=20
plane - I found that if I set my object dimensions to 20,20,50 (as =
opposed to=20
the 0.2,0.2,0.5 in the boxstack sample) the object simply passes =
through the=20
plane. Once I scaled all my numbers by 1/64 it all worked fine. Is this =

normal?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I was hoping someone could comment on =
these=20
findings</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>--</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Jan</FONT></DIV></DIV></BODY></HTML>

------=_NextPart_000_0041_01C36F27.05ADA6A0--