I was confused in using contactlistener of box2d.Now I have body1 & body2.When 2 bodies had contact,how can I ensure the body of fixtureA is body1 or body2?Or how can I figure out which body belongs to fixtureA?
I have made the experiment and ensured body of fixtureA is not random.That's all I can ensure now.
Ok.Maybe I should ask in another way.Now I can figure out body of fixtureA is body1 and every time it can be body1.But why?Why not body2?(body1 & body2 are just names as this.No sequence.)