Geometric center of an object: Difference between revisions
no edit summary
(Transferred the page from the old wiki) |
No edit summary |
||
Line 20: | Line 20: | ||
In the next section, the object pointed to by <code>Obj</code> is set to the desired geometric position (<code>1,1,1</code>) subtracted by <code>Offset</code>. | In the next section, the object pointed to by <code>Obj</code> is set to the desired geometric position (<code>1,1,1</code>) subtracted by <code>Offset</code>. | ||
In the section after, the object's new position is then queried, and added to the offset to produce the geometric position of the object. | In the section after, the object's new position is then queried, and added to the offset to produce the geometric position of the object. | ||
[[Category:Scripting]] |