[ODE] Cylinders, Capsules and Collision

Rune Håkansson Rune Håkansson
Sun Aug 10 11:24:02 2003


Hi Josh,

2.: Check out the dCylinder in the contrib folder.

/Rune

Sunday, August 10, 2003, 7:42:01 PM, you wrote:
JW> Hi all -- our company is using ODE for a game and it would be convenient if
JW> we had (uncapped) cylinders as primitives.  I see that all the cylinders in 
JW> ODE are capsules, and just wondering:
JW> 1-Why is this?  I assume it must be easier to work with these -- but why?
JW> 2-Anyone know of resources (or anything) that would be useful in creating a 
JW> true cylinder primitive in ODE that could collide with the other primitives 
JW> and with TriMeshes?
JW> or
JW> 3-Any ideas on how to get capsules to sit nicely on their ends, so that one 
JW> could place them on terrain etc. i.e. ideas on faking a true cylinder using 
JW> a capsule.