问题
I´m using Blender to export my models to dae
and Xcode to import it to scn
.
But my problem is that the pivot point is totally wrong placed
when I use it in my scene.
The strange thing is that the pivot point is positioned right in
the model viewer from SceneKit (even as scn
).
The World Coordinates are all zeroed.
回答1:
Group all the elements of your 3D model in Blender and move your pivot point for that group at a desired place. SceneKit always reads in a position of pivot point in 99.99% correctly.
Even if you have just one 3D object – group it in Blender. SceneKit sees hierarchy in dae
file and respects group's pivot. So, your pivot's position in SceneKit will be the same as in Blender.
来源:https://stackoverflow.com/questions/52586205/arkit-pivot-point-of-3d-model-is-wrong