[ODEJAVA] Body with Multiple-Geoms problem

I have run MultiGeomTest demo with xith3d as the source below, it worked fine.

But I cannot set the position of the box (GeomBox b) in the boxbody which not encapsulated by the geomtransform.
So I modified the code to encapsulate it in geomtransform as follow :

With the above code I can set the position of box (GeomBox b) but the boxbody did not collide with the planegeom.
I have searched through this forum and found this topic http://www.java-gaming.org/forums/index.php?topic=6146.0
But I still have no idea how to solve this problem.

Please help me.
Thanks

There are no any suggestion ?
I’ve got stuck with many problem of ODE,
such as GeomCylinder, Coliision Detection.

If anyone can solve. Please help me.
Are there any forum I can ask?

The advice I can give you, is to try and switch to JOODE. It’s a bit more active than ODE… and pure Java !

well, this is a joke, isn’t it? ok, t_larkworthy showed up again and two new people have been working on it a little bit, but it’s really not that active. And ODE seems to be really active these days… Or are you talking about ODEJava? Then you’re right - seems to be quite dead :’( (william seems to be the person in charge, and it seems he has other things to do)

nhapentor, ODEJava does not support the cylinder (without caps) primitive. JOODE does not support it either. You should be able to sort out these placement problems though…

If you want a better supported ODE binding (with working cylinder and easy placement) you can try jME Physics 2, but this would require you to use jME, which might not be an option. jME Physics 2 board can be found here.

ODE.activity > JOODE.activity > ODEJava.activity

Is it clearer ?

hehe, kk

sometimes some code is worth a thousands natural-language words :smiley:

Thanks Amos & irrisor.

Amos, I just begin to study joode ( when I got stuck with odejava ) and it’s seem like irrisor said ( it’s not really active ).

irrisor , It’s bad news that cylinder does not support in both odejava & joode but thanks for your advice to jME. I will begin to look at it.

Anyone, Are there another way that I can create a complex geom to be a robot joint ?

At first I import model from .3DS as GeomTrimesh in odejava but there are problems about collision.

Then I think about multi-geoms body, so I try to use basic geom such as box and cylinder but they don’t work. I cannot define the position of each in multi-geoms bodies. Moreover the cylinder doesn’t support. Although I try to use GeomCappedCylinder instead it’s seem that not work too.

So I have no idea to continue. I got stuck with physics engine for a very long time.