[ODE] more specific questions on physical movement of players..

Jon Watte hplus-ode at mindcontrol.org
Mon May 10 10:56:55 MST 2004


I use static trimesh against ccylinder; it works fine. I'm using the latest CVS code -- if you have something older, then it may or may not work.

Also, note that the ccylinder is created lying down. You want to rotate it 90 degrees, stick it in a geometry transform, and attach that geometry transform to your body.

Cheers,

			/ h+


-----Original Message-----
From: Mike Reinstein [mailto:web_fella at hotmail.com]
Sent: Sunday, May 09, 2004 5:41 PM
To: hplus-ode at mindcontrol.org; ode at q12.org
Subject: RE: [ODE] more specific questions on physical movement of
players..


Thanks for the help Jon:

I converted my code to use a capped cylinder rather than a sphere as such:

body = dBodyCreate(world);
geom = dCreateCCylinder(space, 10.0, 30.0);
dGeomSetBody(geom, body);

but when I run my code, it doesn't collide, and it falls through the floor 
(the floor is a static trimesh). I seem to remember something about capped 
cylinders not colliding with trimeshes about a month ago; do I need to 
update my copy of ODE for a bugfix?

thanks man,

Mike





More information about the ODE mailing list