Fixing some bad art (inconsistent local origins) at load time, trying to move the center of rotation to the model’s logical center instead of the back left corner that the artist used. I have a test rotation on Y to visually confirm current pivot point.
setPivotPoint() successfully offsets X in the expected way but does nothing in Z.
Why would this be? Ive gone over and over the Pivots and Parents doc page with no luck.
Note the vertical green Y axis marker
Natural origin, effectively no change - sanity check, origin remains at back left of model as expected
root.setPivotPoint( new Vector3( -0, 0, 0 ) )
Moving X, also works as expected - local origin is now back-center instead of back-left:
root.setPivotPoint( new Vector3( -0.5, 0, 0 ) );
Moving Z instead, no visual change in local origin at all! WTF?
root.setPivotPoint( new Vector3( -0, 0, 0.5 ) );
Any help demystifying this, appreciated.