Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

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

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?

1 comment

0

this is actually a good question

1 answer

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

2 comments

1

That wouldn't work, as I need to be able to change the MeshId through scripts.

0

ok

This discussion is preserved as it was. New answers, comments, and votes are closed.