Jump to content

Update the pivot of an mesh with script


photo

Recommended Posts

Hi,

 

I am working with engine.editor.saveMesh, for transform 64 plane (ObjectMeshDynamic) to one plane (ObjectMesh) with 64 surfaces.

Everything work well, except for the bounding box of the static mesh, I want the center of my bounding box on the center of my mesh, but I not found function for do that.

The pivot point seems to be the same than the first ObjectMeshDynamic add in the static

Will be nice to have it :) 

Thanks

Link to comment
×
×
  • Create New...