Add a SliceCenter-like Property to Meshes

As a Roblox developer, it is currently too hard to resize meshes to the desired shape.


Basically what this feature does is it manipulates the mesh with an xyz slice scale property(similar to the slice scale property for UI’s):

{0, 0, 0, 0, 0, 0}  or  {x1, y1, z1, x2, y2, z2}

This is like 9-slicing, but in 3D for meshes (i.e. 27-slicing).


This is what it currently looks like resizing a mesh:

This is what it could look like:


If Roblox is able to address this issue, it would improve our development experience because now I don’t have to make extra meshes to make something look as desired.


This would be an amazing feature. Imagine doing this:

But in 3D!


A question you may ask:

What if I don’t know how big my mesh is?
It won’t be how big in studs, but in percent corresponding to the bounding box, for example:

{0.5, 0.5, 0.5, 0.5, 0.5, 0.5)

would be the exact center of the mesh.

27 Likes

An easier implementation would be a SliceCenter: Vector3 property, separating the MeshPart’s vertices into 8 octants. Axes range from 0-1.

If an axis equals 0, that axis will not be split. A value of 0, 0, 0 disables splitting.

7 Likes