I want to achieve clouds that look very similar to the ones in the images, but I don’t know how to start it/create it. Any guides, info, formulas will be appreciated.
We could use a bit more information here about how to clouds behave. A video would be perfect. The following is a naive assumption.
OOP is a poorly fitting solution to the problem. Unless there’s some extra complexity not seen here, you can get away with something like a 100-line script (ideally a ModuleScript that has a bit of functions exported for management—spawning, destroying).
- Spawn a bunch of Part objects with randomized size, transparency, and position across a line/plane/box. Assign it a collision group for clouds as well.
- Values here will have to be tuned by hand until they’re good enough. A random position on a plane is acquired by randomly lerping the components of the minimum and maximum bound of the plane. For example,
x, y = min_x + (max_x * math.random()), min_y + (max_y * math.random()). This 2D value can then be used to construct or modify a Vector3 to set position. The same concept applies to a 3D box.
- Values here will have to be tuned by hand until they’re good enough. A random position on a plane is acquired by randomly lerping the components of the minimum and maximum bound of the plane. For example,
- Give each Part a LinearVelocity object with randomized velocity. Alternatively, store some velocity value tied to the Part and update position manually over Heartbeat.
- Velocity will not be truly random here. You’ll probably only have one component be randomized.
- Place another Part at the far end of the map and use collision to check if the clouds go too far away, using the same collision group as before.
- When the cloud Part reaches the end, recycle the Part by randomizing its values similar to when you created it, placing it back at the start.
- (Optional) For added effect, add tweens to hide the spawning/recycling.
- (Optional) Include a pre-simulation step to place clouds further along the map on server start so the sky isn’t empty when the game starts. This could just be inherent to your spawning function (if you use a plane of the whole sky).
oop? modular? what the hell are you talking about? please stop slinging these propagandic buzzwords.
those clouds seem to be regular white baseparts with a clustering distribution (perlin w/ a threshold? idk!), creating visual softness. this is farily simple and your post is vague
This should not be made with OOP whatsoever. Use scripts for this.
theres probably already a dev forum post that has done something like minecraft clouds well


