hi, I need to bounce objects against a border that is not running parallel to x or y, but in a gradient angle. actually I need to bounce the objects within a pentagon. iSeg2D allows object to cross the border when they bounce, there is no x/y-max for gradients. I am also looking into frank's pyode script. Is there something in it, that can do that? marius.