View Single Post
  #2  
Old 06-28-2011, 12:57 AM
sleiN13 sleiN13 is offline
Member
 
Join Date: Dec 2008
Posts: 83
If it is a square alignes with the axis getBoundingBox() might do.

Just get the box.size and do a translation of half the width, height and depth and you should be oke
Reply With Quote