Hi, I'm not sure if this is in he right forum, if not the I apologise.
I am writing a game and have objects on the screen. I am using box2d and understand that the easiest way to determine if one object is inside another is to do 2 checks. Te first takes a point inside one object and calls TestPoint to see if it is inside the other object. Then to use b2CollidePolygons to see if they intersect.
The problem I'm having is how do I create a point inside one of my objects when it is being moved by the user? Or would it be easier to pick a point inside the static object and see if this is shared with the object the user moves?
Any help would be appreciated. Thanks