[odejava] Collision partitioning, Spaces and Geoms

First off I’ve not really got much experience with ode and odejava.

At the moment I’m just planning on using the collision aspect of odejava in my own very simple model. (I might use more physics later but at the moment I think it’s overkill).

After reading the documentation for collision in ode I expected to be able to add Spaces to other Spaces so I could partition my world to help make the collision more efficient. I don’t seem to be able to see a method to do this. Have I just overlooked it or is it not available at the moment.

Also from looking at the ode documentation I got the impression that a Space is a type pf Geometry. So I expected to be able to pass a Space (that may contain other spaces and and Geoms) into another space as a geometry. Is this or will it be possible? (I don’t remember seeing that Space extends Geom, but I could be wrong here)

I hope that I’ve made some sense here :wink:

Cheers,
Dan.

I see - http://opende.sourceforge.net/ode-latest-userguide.html#sec_10_3_0

Spaces are indeed “non-placable” geom and can have sub-spaces.

This feature is not yet implemented in Odejava. Jani can probably give more info as he is more experianced with ODE.

Will.

Do you know when/if spaces will be able to contain other spaces?

From the very little I knoe of ODE (I read the manual) it seems that spaces are treated in the same way as Geoms and therefore Space should extend Geom. I don’t know if this is possible in the current implementation.

At the moment I don’t see how a spcae can be partitioned up.

Cheers,
Dan.

I believe Odejava will support them as we are trying to get it as close to ODE as possible.

When is a different question, there are other higher priorities such as multi-geom support and an XODE parser.

Always the best path of action is to submit an issue - and outline your use case (i.e. why you need it). We’re not going to waste time with stuff people arn’t using.

And the other option is - send us the patch :wink: :stuck_out_tongue:

Will.

I wasn’t trying to be pushy :wink: just trying to get my head around somthing new :slight_smile:

At the moment I’m just having a little play with it so wouldn’t want to waste peoples time and if I tried to fix it I’d probably mess it up! :wink:

regards,
Dan.

cool - but definitaly if you have a need for this feature tell us :slight_smile:

Will.