Voxel mesh extraction has an offset origin

Describe the bug:

When extract a voxel mesh, you would expect the origin point to be the center of the mesh. For example, if you extracted a 5x5 plane of voxels, then rotated it, you would expect it to rotate on the center point, however it usually places the origin point at (1,1), rather than (0,0)

This occurs with both even and odd sized voxel meshes.

How do you cause this bug?

  • Using the cube tool, draw a 5x5x1 rectangle of voxels.
  • Click Apply
  • Select the voxel selection tool
  • Click Extract

Screenshots / video of bug:

Odd sized voxel mesh:

Even sized voxel mesh:

Your Crayta username: Cereal

Game seen in (including “Hub” or “Editor for XYZ”): Editor

How regularly do you see this? (E.g. 2/3 times - please try 3 times if possible): Every time

Time + date seen: March 06 2022

Version number (found in Help tab in Settings): 0.e5.40.115857

Hey there @Cereal !

Great find! Thank you for bringing this to our attention!
I have gone ahead and entered a ticket for this issue. :slight_smile:

1 Like