[ODE] Heightfield / ray
LR
logreg at free.fr
Thu Mar 29 07:46:34 MST 2007
In fact
The coliders are set like (Heightfield.cpp Line 958):
switch (o2->type)
{
case dRayClass:
geomRayNCollider = NULL;
geomNPlaneCollider = dCollideRayPlane;
geomNDepthGetter = NULL;
//max_collisionContact = 1;
break;
(...)
And, Line 1478
if ( geomRayNCollider( &tempRay, o2, flags, PlaneContact, sizeof(
dContactGeom ) ) )
{
depth = PlaneContact[0].depth;
vertexCollided = true;
}
With geomRayNCollider is NULL ....
LR
-----Message d'origine-----
De : Dmitry Medvedev [mailto:pegasi at inbox.ru]
Envoyé : jeudi 29 mars 2007 12:42
À : LR
Objet : Re: [ODE] Heightfield / ray
Look in the code - may it be simple devizion by zero cause ?
More information about the ODE
mailing list