1) I´m using XPal and I have a problem to detect what object has collided.
The class Collision has two Collideable objects, but only with this information I can´t get directly what object has collide without search in all Collideables from all bodies.
Well, currently there is a bug in the XPAL-JOODE part, that makes it unpredictable, if the you desired Collideable is the first or the second one in the collision event. This is pretty simple to fix and will be done in the next few days.
But I guess, this is not your problem. I guess, you need to know, which body the Collideable is attached to. Would it help, if we added a Body-getter to the Collideable interface? @Amos: Do you think, this is a problem?
And if we add a method to setUserData?
I guess, this is no problem.
2) This is not a great problem because there is a easy workaround, but i think that is stranger that I can´t add a body at PhysicsGFXManager class.
I have added this to the GFXManager. It is untested. Please tell me, if it works.
Marvin