add explanation for final image
commited
commit
2b9465a2c704889ec71cb1b1fe972d16865b0fec
... | ... | @@ -12,4 +12,8 @@ The trick is to take the [[Get Position]] vector and **offset it by half the tot |
12 | 12 | |
13 | 13 | By extension, to *set* the geometric position of the object, set the position (centre of mass) of the object to the desired position (centroid) subtracted by the offset. |
14 | 14 | |
15 | [[/uploads/set geometrical position opaque.png]] |
|
... | ... | \ No newline at end of file |
0 | [[/uploads/set geometrical position opaque.png]] |
|
1 | ||
2 | In the example above, the [[Get Size]] block returns the minimum and maximum vectors. These are added together, and the result is halved and stored for later in the variable `Offset`. |
|
3 | In the next section, the object pointed to by `Obj` is set to the desired geometric position (`(1,1,1)`) subtracted by `Offset`. |
|
4 | 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. |
|
... | ... | \ No newline at end of file |