[ODE] trimesh vs plane

LR logreg at free.fr
Fri Mar 24 17:02:53 MST 2006


Is Ray/cylinder collision planed ? Some one tryed ?

Laurent. 

-----Message d'origine-----
De : ode-bounces at q12.org [mailto:ode-bounces at q12.org] De la part de Bram
Stolk
Envoyé : samedi 25 mars 2006 00:33
À : Jean-Sebastien Guay
Cc : ode-list
Objet : [ODE] trimesh vs plane

Jean-Sebastien Guay wrote:

> - In test_trimesh, the trimeshes collide well between them but fall
straight
>   through the floor while primitives collide with the trimeshes and the
floor.

This is because the plane-trimesh isect is not implemented in ode.
These are currently implemented:

(dSphereClass,dSphereClass,&dCollideSphereSphere);
(dSphereClass,dBoxClass,&dCollideSphereBox);
(dSphereClass,dPlaneClass,&dCollideSpherePlane);
(dBoxClass,dBoxClass,&dCollideBoxBox);
(dBoxClass,dPlaneClass,&dCollideBoxPlane);
(dCapsuleClass,dSphereClass,&dCollideCapsuleSphere);
(dCapsuleClass,dBoxClass,&dCollideCapsuleBox);
(dCapsuleClass,dCapsuleClass,&dCollideCapsuleCapsule);
(dCapsuleClass,dPlaneClass,&dCollideCapsulePlane);
(dRayClass,dSphereClass,&dCollideRaySphere);
(dRayClass,dBoxClass,&dCollideRayBox);
(dRayClass,dCapsuleClass,&dCollideRayCapsule);
(dRayClass,dPlaneClass,&dCollideRayPlane);
(dTriMeshClass,dSphereClass,&dCollideSTL);
(dTriMeshClass,dBoxClass,&dCollideBTL);
(dTriMeshClass,dRayClass,&dCollideRTL);
(dTriMeshClass,dTriMeshClass,&dCollideTTL);
(dTriMeshClass,dCapsuleClass,&dCollideCCTL);
(dCylinderClass,dTriMeshClass,&dCollideCylinderTrimesh);
(dCylinderClass,dBoxClass,&dCollideCylinderBox);
(dCylinderClass,dSphereClass,&dCollideCylinderSphere);
(dCylinderClass,dPlaneClass,&dCollideCylinderPlane);

cyl-cyl, also missing, is a hard problem, but trimesh-plane should not be
too difficult to implement, as it is an easier problem than trimesh-trimesh.

   Bram
_______________________________________________
ODE mailing list
ODE at q12.org
http://q12.org/mailman/listinfo/ode






More information about the ODE mailing list