Clarification on BoundingSphere.center

Hello,

I just started using Cesium.Model because I needed access to it’s BoundingSphere. When I dug in, I saw that the center of the bounding sphere wasn’t what I was expecting. I thought the location of the model and the location of the bounding sphere center would be about the same. Whenever I log out the bounding sphere center, it appears to be very close to Cartesian3.ZERO.

Is boundingSphere.center the offset of the center position based off of the actual position? i.e. is boundingSphere actual center === Cartesian3.add(boundingSphere.center, model.position, new Cartesian3())?

Here is a basic sandcastle example – I would’ve assumed the two console.log values would be very close to each other:

Nevermind, just saw the example under https://cesium.com/docs/cesiumjs-ref-doc/Model.html#boundingSphere