Thread
:
Setting the origin of a object to an object's center
View Single Post
#
2
06-28-2011, 12:57 AM
sleiN13
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
sleiN13
View Public Profile
Find all posts by sleiN13