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

Is there a way to create meshes at runtime?

Asked by 5 years ago

This would be very useful for making procedurally generated games, but I haven't seen any information on it.

1 answer

Log in to vote
3
Answered by 5 years ago
Edited 5 years ago

I'm not exactly sure what you mean by "meshes" so I'll explain everything i'm assuming your referring to

You are not able to create/edit meshes in realtime on Roblox, they are imported objects you have to upload. You however can use Roblox CSG, aka unions. In the past few months Roblox has released different improvements and APIs to CSG to add a real-time CSG solver. Here is an example from the wiki of the real-time CSG system as well as this example, from the devforums, created by CloneTrooper1019. The current technology is not necessarily as fast as I personally think it should be but it is a very recent implementation to Roblox so you should be able to see improvements in the next coming months. Just in case you couldn't find any of the API's for it, I've linked them here.

0
By meshes I just meant a collect of numbers, vector2s, and vector3s that can be represented visually. bludud1234 40 — 5y
Ad

Answer this question