hi all!
i have a question regarding to the integration of ode in my xith3d app. i’m thinking about having some kind of entity-class which represents an object in the 3d-world. this entity could be a decendant of BranchGroup so an easy integration in the scenegraph would be possible. furthermore the entity would encapsulate the TransformGroup generated by the OdejavaToXith3d-class and it’s appropriate ode-body-object counterpart as well. the initial definition of all simulation relevant body/geom would be done in the odeworld so it’s xith representation could be updated after each simulationstep. gamelogic inside an entity could then apply forces to it’s ode-body if neccessary, to simulate interaction.
sounds this like a reasonable way of doing it or are there easier/better solutions? any help is much appreciated.
thnx in advance,
holger