what method of collision are you using? i assume you're using math collision, but boxes, circles?
i you are using box collision, you should have an array of all the boxes' data so you can check for collision by the main object.
for each box, stored in an array, i have the center coordinates, half width, and half height. just position the object at the center coordinates of the box plus/minus(depending what side of box it is on) the width/height(again, depending on side) and then if the colliding object has a width or height, add that too.
i hope that answers your ?.
*\OBESE/*