Tinter / Tinter-Furniture

Script to return the furniture from space
GNU General Public License v3.0
13 stars 4 forks source link

Calculate offsets automatically #18

Closed Tinter closed 4 years ago

Tinter commented 4 years ago

Offset for a building is

(boundingCenter _Parent) vectorDiff (boundingCenter _child)

Could be automated, but since boundingCenter takes an object and the script only knows the classname of a parent, figure out a way to do this.

Tinter commented 4 years ago

Can be fixed by subtracting the boundingCenter when saving and applying it when dressing up, but this will require redoing all compositions, again.

Tinter commented 4 years ago

Finally concluded with commit f21d950.