Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Make a 3D Falling Sand Voxel Simulation with Unity and C#
Rating: 2.5 out of 5(2 ratings)
14 students

Make a 3D Falling Sand Voxel Simulation with Unity and C#

Voxel Simulator with Falling Sand, Flowing Water, and Customizable Voxel Behaviors
Created byAbdiel Lopez
Last updated 11/2025
English

What you'll learn

  • Use ScriptableObjects to create different voxel types and define how they will interact with other voxels
  • Generate optimized procedural meshes at runtime using lookup table based voxel meshing
  • Implement 3D cellular automata to create emergent voxel behaviour
  • Build a voxel sandbox editor to place and remove blocks and test your simulations
  • Utilize UML diagrams to design voxel engine architecture

Course content

5 sections • 12 lectures • 3h 39m total length
  • Live Help and Community Discord0:06
  • Download and install Unity0:33
  • Welcome to Voxel Automata0:38

Requirements

  • Beginner experience with C#
  • Basic familiarity with Unity

Description

This course is for Unity developers who want to build a voxel automata playground from scratch. If you've ever been mesmerized Conway's Game of Life or The Powder Toy, an awesome game on steam) then you'll love exploring the same concept in three dimensions!

You'll learn to create a system where each voxel follows basic rules to produce emergent behavior. Sand tumbles and settles into natural slopes. Water flows downhill and pools in low areas. Rock stays in place forming structures that water and sand must navigate. You can create channels and watch water flow through them, pile sand into dunes, or design waterfalls that cascade from level to level!

This course will cover efficient voxel data structures, runtime mesh generation, and an interactive editor where you can add or remove voxels and watch your automata simulate in real time. You'll learn how basic rules can apply to voxels to create emergent flowing systems.

If you have some basic C# and Unity experience, you're ready to start. No advanced math or deep technical knowledge is required. I'll walk you through everything with clear examples and hands-on coding, showing you how to build a sandbox where simple automata rules can create endlessly fascinating results.

Who this course is for:

  • Those interested in getting started with voxel technology or making voxel games
  • Unity developers wanting to create awesome simulations with voxels
  • Fans of Powder Toy wanting to create their own 3D version of powder toy in Unity
  • Lovers of voxel technology