Hello I have loaded an obj into my scene. In my 3D model editor I created the original model away from the origin point (0,0,0) however after loading it into my scene the program says its position is at (0,0,0). I tried to use the mesh helper to recenter the object
MeshHelper.recenter(mesh);
But I got an error :
[Fault] exception, information=TypeError: Error #1034: Type Coercion failed: cannot convert away3d.core.base::CompactSubGeometry
i can recenter the object in prefab to get the correct origin coordinates for the mesh but when I try to export the obj from prefab it will not load in my scene. And these number are inaccurate because I have scaled my mesh.
how do I get the correct coordinates for my imported mesh? Thank you.