The MeshToHISM tools in the Project Hillside demo has some issues

We found that the coordinate axes are incorrect when the MeshToHISM tool converts ISM/HISM..

[Image Removed]

How should I fix it?

Hi !

This tool was built solely for the purpose of optimizing massive amounts of meshes into instances for the Hillside architectural project, and is by design quite limited when it comes to Pivot location choices.

The behavior of the blueprint here is to create an ISM/HISM actor at the coordinates (0,0,0) to quickly align groups of instanced meshes in the level, then add each of the meshes as ISM/HISM component Instances (which will have the same World Transform as the original Mesh Actors).

A couple suggestions if you want a more custom pivot location :

  • Move the meshes to instance around the origin of the level (0,0,0) so when you use the tool to convert the meshes to ISM/HISM, the pivot is at the right location.
  • Edit the MeshToHISM Editor Utility Widget to fit your needs. You can edit the “SpawnHISMActor” Function to take the first HISM instance and use its Transform as the location of your Pivot point. This example here takes the first mesh added to the selection to instantiate (note that it is NOT going to always take the first mesh of the selection, or follow the order of your selection !), then use its Transform as your ISM/HISM “root”.

[Image Removed]

  • Using the suggestion above, you could also expose the Transform to the UMG UI to manually enter the values.

Hope this helps !

Cheers,

Antoine

Got it, thanks a lot.