Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
2

How can I change the size of a SpecialMesh to the Size of its parent?

Asked by 4 years ago

Let me explain. A Specialmesh contains the value Mesh.Scale Rather than Mesh.Size. By default, Scale is set to 1,1,1. I am trying to get the size of the SpecialMesh to match the size of its parent, but I can't find an absolute scale for any of the meshes because each Mesh is a different size.

Part.Mesh.MeshId= "rbxassetid://000000" --just an example
Part.Mesh.Scale = Part.Size -- This doesn't work

Saying Mesh.Scale = Part.Size will not correctly change the size of the SpecialMesh. Is there any way to do this?

0
this is actually a good question greatneil80 2647 — 4y

1 answer

Log in to vote
0
Answered by
Zeuxulaz 148
4 years ago

Make the SpecialMesh a MeshPart, where you can scale it correctly.

1
That wouldn't work, as I need to be able to change the MeshId through scripts. HappleMan 24 — 4y
0
ok Zeuxulaz 148 — 4y
Ad

Answer this question