kurtz le pirate <kur### [at] yahoo fr> wrote:
> move your "rubrics cube" by adding "translate -0.50*full_cube_size"
This applies if your object rotates _exactly_ around that corner. In any
other case the following should work as long as the object is not too
complicated:
translate -0.50*(min_extent(myObject)+max_extent(myObject))
this actually centers the bounding box of the object but that should be
calculated correctly for a cube-ish structure
Hope this helps
Regards Roman
Post a reply to this message
|