Hello Builders, and welcome to our 6th building lesson. Today we will be talking about meshes.
Now, when you play a game, you may notice some irregular shapes in the game. These are usually meshes. Take these ones for example at my project Home Sweet Home.
Now I will show you how to use meshes and show you the different kinds of meshes there are. For example: Every single gear on roblox is a mesh.
How do we make these meshes? Well we cannot make our own meshes, we will have to use meshes that roblox has. Which is ok because there are still ways to sort of customize them. Let's use the grass mesh as an example. What you want to do is go into a brick and insert a FileMesh (other meshes will be discussed as well). In the properties, you want to put in the MeshId (mesh ID for this mesh is 1080954) All you do is put in the id and it does the rest or you (The full id would be rbxassetid://1080954).
So we have file meshes, special meshes, cylinder meshes, and block meshes. Basically a cool thing to use meshes is that you can resize a brick easily. For example, bricks can only be as big as 2048 studs on each axis, but with meshes, we can go way past this. In Imagination Tech and PurpleDev's game Beyond, the planet outsides are at least 6000-8000 studs across or more. The mesh scales however, are multiplied by the block sizes. For example, on any axis, if I set the brick scale to 5, and the mesh scale to 3, I would have a mesh 15 bricks long on that axis.
It is important however, to only use this when necessary, mostly because the mesh is not collidable, and will just let you fall through. So for the brick area outside of that original 5 studs, you would fall right through.
With a mesh like a cylinder or wedge mesh (or any mesh for that matter). They don't have physics. As a demonstration, take a look at this decorative wedge mesh. As you can see, unlike a regular wedge, you cannot walk past the original brick. This is why you should only use wedges as a part, not a mesh. Of course we are all entitled to our own opinion, but I personally think that this kind of thing should not be used functionally, only asthetically.
I wish you good luck on working with meshes. If you still have questions, feel free to PM me on roblox.
-Domswolf