OdeJava CappedCylinder Trouble

hello !

I work actually on a car simulator, i use Java3d and Odejava, and the J3d Ode Binding.
I got some trouble, instead of using GeomSphere for the wheels, i’m using GeomCappedCylinder (GeomSphere is not adapted for the wheels, Cylinder is not implemented in ODEJava).
When my scene is going to start i catch a Non Affine Transformation. It’s seems to be a positionning problem…(when i desactivate the setTranslation in the Java3DDisplayObject class it works…)
Can someone help me or tell me what i have to do to change my shpère wheel into real wheel like cylinder or cappedCylinder ??

thanks, best regards…

_Mikael.

I never used the j3d odejava binding, probably there are some strange things happening. But another possible cause might be the rotation in your j3d node, make sure that it is normalized and really a rotation (not sure if they use quaternions or matrices, but either way)…

With jME (jME Physics 2) or Xith3d OdeJava works fine - of course with translation :slight_smile:

it’s not a binding problem… i don’t know why my TriMesh Doesn’t works instead of a Sphere…
When i test to know what transform doesn’t works, it seems to be the translation ??? ???
If i attach my trimesh at the sphere (body.addGeom) i only see the mesh, but the collision is not working…
Thanks for your reply,

If someOne have an answer …

_Mikael.