You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the "basic" example, if you spawn a cube at the same location as a .vox model, it appears that the .vox model is imported within a larger shape, but is positioned at one of the corners of the invisible shape. If you rotate the transform of the .vox mesh, it rotates around the center point of the invisible shape.
The text was updated successfully, but these errors were encountered:
madamc
changed the title
Meshes are imported with large blank mesh
Meshes are imported offset within large blank mesh
Apr 23, 2023
madamc
changed the title
Meshes are imported offset within large blank mesh
.Vox Meshes are imported offset within large blank mesh
Apr 23, 2023
The origin of the loaded vox meshes is at the the origin of the shape containing them ((0, 0, 0)), so the one of the bottom corners as you mentionned. An option to add an offset to the meshes can probably be added to set their origin to the "mesh" gravity center, as per what bevy does by default.
In the "basic" example, if you spawn a cube at the same location as a .vox model, it appears that the .vox model is imported within a larger shape, but is positioned at one of the corners of the invisible shape. If you rotate the transform of the .vox mesh, it rotates around the center point of the invisible shape.
The text was updated successfully, but these errors were encountered: