@newt That looks great! although why do you use numbers 4 and 16 instead of expressions of the size of the box? Basically to adapt this for my own purposes, I need to know how to adjust these constants.sqiddster2012-02-18 19:36:29
It just divides the rectangle up into the size of the second sprite. Looks a little better imho, and its easier to get around the issue with hotspots on the second object. So rectangle width divided by the second objects width/2 *the second objects width.
OK, thanks, @newt. The only problem is, the object within the rectangle has an altering width for me, and I suspect that this is what is stuffing it up. What can I do if I want to consider the second object as a point entity?