The model's location handle is not at the center of the model. Can you set the model center point in code instead of through the model editor?

Yes, there is. There always is (well, nearly :grin:)
The solution is around getting the bounding box hierarchy of the model/mesh and submeshes.
This is the link to a similar topic I shared just recently

If you look at how the object’s position has been translated after moving it from ‘getHierarchyBoundingVectors’, you’ll find the values in there (in the root of the model).

Else, the easy way is simply to create a new transformNode and parent the object to the new node after repositioning it from its bounding box hierarchy. Next use the new transformNode as a pivot.
Hope this helps, else let us know…
Meanwhile, have a great day :sunglasses: