[ODE] Collisiondetection with triangles

Jürgen Ladstätter info at innova-studios.com
Fri Mar 16 07:30:10 MST 2007

Hi there,

already read the documentation and i think i misunderstood something. For a
plane, therefore I need the normal vector of that plane and some factor
First of all I thought a,b,c,d are just vectors and the planes edges are
placed at the coordinates for a,b,c,d.
So with that circumstance the only way for checking a ray's collision with a
single triangle is a trimesh.

Or does anyone of you has better ideas?

Kind regards,

Von: Lewis Foster [mailto:doof205 at gmail.com] 
Gesendet: Freitag, 16. März 2007 15:26
An: Jürgen Ladstätter
Betreff: Re: [ODE] Collisiondetection with triangles

Depending on what you want to do with it this could be an issue:

"Planes are non-placeable geoms. This means that, unlike placeable geoms,
planes do not have an assigned position and rotation. This means that the
parameters (a,b,c,d) are always in global coordinates. In other words it is
assumed that the plane is always part of the static environment and not tied
to any movable object." - taken from the documentation

I've not worked with tri-meshes but could you have a mesh with a single

On 3/16/07, Jürgen Ladstätter <info at innova-studios.com> wrote:
Hi all,

currently i'm doing some CD with triangles and found out that ODE hasn't got
any geomclasses which represent triangles.
Is it the best way now to use planes and set 2 vertexpoint coordinates to
the same coordinates? That should result into a triangle. 

Maybe you have any better ideas, kind regards jurgen

ODE mailing list
ODE at ode.org

More information about the ODE mailing list