[ODE] XODE -- named spaces

William Denniss will at tanksoftware.com
Fri Aug 12 21:34:57 MST 2005


Jon,

All XODE elements have a name element:

"   The main elements of XODE share common properties (such as a name
    attribute) and are named XODE Objects.  A subset of XODE Objects
    are XODE Containers which can contain other objects.

    All Objects may have a name attribute, which if present MUST be
    unique.  They can also contain extension elements.
"

It's likely that the schema or the implementation however have not  
implemented this, hence your problem.  If so, please identify where  
the problem is so it can be fixed.

Cheers,

Will.


On 04/08/2005, at 12:22 AM, Jon Williams wrote:


> I'm trying to block out some time to work with ODE again and
> wanted to take advantage of all the fabulous work done on XODE.
>
> To start, I'm creating collisions between multiple car objects.
> (The cars defined via XML naturally) Seems like i ought to be
> able to check for collisions between the cars' container spaces,
> rather than the individual geoms. (I've used the chassis in the past)
>
> The schema doesn't look like it supports name attributes on the
> space node like it does on bodies and geoms. So, I'm
> confused how i'd go about getting at the NativeAddr for the spaces
> so i can compare them inside iterateContacts.
>
> The examples that show this sort of logic don't use XODE, and the
> XODE examples don't use iterateContacts.
>
> This is probably *really* easy. Anyone got some sample code
> they can point me towards?
>
> (sorry if this is a cross-post -- wasn't sure how the mailinglist
> meshed with the forums if at all)
> :j
> _______________________________________________
> ODE mailing list
> ODE at q12.org
> http://q12.org/mailman/listinfo/ode
>
>
>
>




More information about the ODE mailing list