I have a great code to share with u. The author is Micmoc, open source, but please give her credits if you want to use it directly. Comments are Chinese, so I hope Google translate will help. Here is the download link: http://www.negdev.com/3dgs/demo/ItemBox_Micmoc.zip