This makes it almost impossible to line up objects, I create a cube and put it’s center at the same point that is reading for the selected center point of the static mesh. However the static mesh is only reading the pivot point no matter if you select the center or the pivot. The cube has both set to the same location, so it makes sense to have the same coordinates for both as both are graphically represented in those same coordinates. However the Static mesh’s position still* reads the PIVOT* point and NOT* the Center of the object and both are visually in different positions but read the same coordinates. So I can only get the pivot’s xyz position and not the center of the object to line it up through coordinates in scripts or animating.
The pivot / center switch in the UI is just a convenience tool for if you handle the object via the Mouse tools.
If you like to get the “Center” of a object you might want to check the render bounds
the bounds will give you a center that should be the same as the center for the mouse tools.