Page 1 of 1

Positon problem by export mesh

Posted: Mon Nov 11, 2024 4:54 pm
by Xifa
Hallo, i create a mesh in cloudcompare und export in unity, the position is not at center but the value is at 0,0,0 and it has a rotation but the mesh model dont hat the rotation wenn in cloudcompare. is there a way to make the position away at center with no rotations?there is a transformation matrix and the value is 1,0,0,0 |0,1,0,0|0,0,1,0|0,0,0,1 is this mean is at center with no rotation?

Re: Positon problem by export mesh

Posted: Tue Nov 12, 2024 1:47 pm
by daniel
Which mesh format are you using?

I'm a bit confused by your description. You can always translate (or rotate) the mesh in different ways (either manually with the 'Edit > Rotate/Translate' tool, or in a more controlled way with 'Edit > Apply transformation').

Re: Positon problem by export mesh

Posted: Tue Nov 12, 2024 2:52 pm
by Xifa
i use e57 foramt for pointcloud, and create a FBX mesh. i load it in unity und the mesh position value and rotation value is at 0,0,0, but the mesh is not at 0,0,0 poisiton in the snece in unity ,so i thinkt the position and rotation ist not set at 0,0,0 for the pointcloud und the mesh, i looked wiki und find the Rotate/Translate' tool and Apply transformation but didnt know what value i should look for,to translate or ratate the mesh. there are values in properties like box dimensions,shift/ global box center with x,y,z .is this valves tells me what i need to translate or ratete the mesh to meke it at center ?

Re: Positon problem by export mesh

Posted: Thu Nov 14, 2024 3:12 pm
by daniel
Well, it looks that you know that the mesh (shape) is not centered on (0, 0, 0), but you don't know exactly what's the exact criteria to determine whether it's centered or not?

Regarding centering, if it's sufficient for you then yes, you can use the bounding-box center and use it in the 'Edit > Apply transformation' tool (-BB.x, -BB.y, -BB.z).

For the orientation, that might be trickier, as I don't know better than you what's the right orientation ;)