I am having some problems with collisions, the issued callbacks and the recorded information about these..
I have a class called GameObject with its own body and callback-function. I also have a CarObject that is derived from GameObject. I don't know if there are several types of callback-functions for collisions, but it takes the two collision skins involved in the collision. When this callback-function is called, I know that the first skin involved in the collison belongs to the body of "this" GameObject, and the second skin belongs to the body of "some other" GameObject. When "this" object collides with "some other" object, I check if "the other" object is a CarObject. When I drive my car into a box, the callback-function in the box's GameObject IS called, and the object that the box collides with IS (at least sometimes) a car!
Now, when I am in the callback-function, with the box as "this" object and a car as "the other" object, I want to get the CollisionInfo for this collision, but it is nowhere to be found! The skin belonging to the body of the car has 0 entries in its "Collisions" member/property/whatever. The skin belonging to the body of the box has several entries in its "Collisions" member/property/whatever, but none of these collisions seem to be with the car! Also, whether or not the box is immovable seems to mak
e a difference.
So, hm.. Howto fix?
Any help would be greatly appreciated,
thanks in advance!