How to set custom bounding box for sprite?

How to set custom bounding box for sprite?

You can override getBoundingBox function and return whatever you want for example.

http://pastebin.com/ENKQdi2c