[ODE] Collisiondetection with triangles

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

Hi there,

i could use the trimesh geom, but i thought it would be too much overhead.
I need it for our 3d mapeditor for surface modelling - writing CD on my own
isn’t really useful, because ODE is now very nice integrated into our
software. So I'll use Trimesh

-----Ursprüngliche Nachricht-----
Von: ode-bounces at ode.org [mailto:ode-bounces at ode.org] Im Auftrag von Martijn
Gesendet: Freitag, 16. März 2007 18:18
An: ode at ode.org
Betreff: Re: [ODE] Collisiondetection with triangles

Jürgen Ladstätter wrote:
> Hi there,
> already read the documentation and i think i misunderstood something. For
> plane, therefore I need the normal vector of that plane and some factor
> (d?).
> 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
> single triangle is a trimesh.
> Or does anyone of you has better ideas?
> Kind regards,

Is there any reason you cannot use the Trimesh Geom?

If you are just interested in the collision intersection result (no
dynamics), you might be better 
of doing the (ray?) intersections yourself instead of using ODE.

The four parameters of the plane are x,y,z,w (or was it w,x,y,z?) where xyz
is the plane normal 
vector, and w the distance (of the plane surface) from the origin (0,0,0).

ODE mailing list
ODE at ode.org

More information about the ODE mailing list