Object3D pivot/axis position

thanks a lot, now it makes more sense. I slowly start to understand.

so maybe last little experiment with sketchup and three js to fully understand what is going on:

  1. made a box in sketchup, by default gizmo/pivot/axes is on the “left” corner

  2. exported it as dae and imported into threejs editor. Gizmo is presented in the “left” corner, same as in sketchup

  3. edited object’s axes in sketchup. Moved the gizmo/axes/pivot to the “right” corner

  4. exported it as dae and imported into threejs editor. Gizmo is presented in the “right” corner, same as in sketchup

  5. selected each object in three js (one with “left” gizmo, another with “right” gizmo) and exported one by one as object (json)

  6. made a diff of resulting json files

Results:

  1. threejs is fully aware of where is the “gizmo/handle/pivot/axes” - so it knows where is the objects (0,0,0) in the world coordinates (as mjurczyk noticed)
  2. the difference between these two objects, with only “gizmo/axes/pivot” changed:
    2.1 object’s matrix property index 13 is changed (26.4647534 changed into 65.8348321,22)
    2.2 geometry’s vertices positions are changed (seem to be translated by -39 which is a difference between 26 and 64)

So it seems that “origin/pivot” is just object’s (0,0,0) as you said and when it’s modified (it was moved along the “red” axis) it results in object’s matrix position changed (geometry is translated).

Do I understand correctly?