Jump to content

Best way to work with Meshes since 2.17


photo

Recommended Posts

Posted (edited)

Hello,

what is the best way to work with created meshes by code now?

The ability to pass a MeshPtr to a ObjectMeshStatic has been removed.

The only way I see is to save the mesh, remember the path, and use the path to create the ObjectMeshStatic.

It was much easier to just pass the pointer, or is it just that I don't see it.

Thanks

Edited by sebastian.vesenmayer
Posted

Hello Sebastian,

On 9/27/2024 at 10:50 PM, sebastian.vesenmayer said:

Hello,

what is the best way to work with created meshes by code now?

The ability to pass a MeshPtr to a ObjectMeshStatic has been removed.

The only way I see is to save the mesh, remember the path, and use the path to create the ObjectMeshStatic.

It was much easier to just pass the pointer, or is it just that I don't see it.

Thanks

Please refer to the applyMeshProcedural method as it appears to be the most convenient solution for your needs.

Thanks!

×
×
  • Create New...