Skip to content

A velocity-based falling sand simulation built with Rust and Bevy

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

100-TomatoJuice/bevy_falling_sand

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⏳ Bevy Falling Sand

MIT/Apache 2.0

falling_sand

A velocity-based falling sand simulation built with Rust and Bevy!

This simulation uses bevy_rapier to generate colliders that regular rigidbodies can interact with. This allows for a player to affect the simulation and, since each particle type can have its separate collider, particle-based status effects!

Currently, the simulation is chunk-based, meaning that only chunks who have updating particles are simulated.

⚛ Particle Mappings

Particle Mapping
Sand 1
Water 2
Stone 3
Acid 4
Wood 5
Spark 6
Lava 7
Oil 8
Gunpowder 9
TNT 0
Dirt -
Grass =

⚙️ How to Test

  • Download the .zip
  • Extract the .zip and open the folder in preferred IDE
  • In the terminal, type cargo run --release to run the project

About

A velocity-based falling sand simulation built with Rust and Bevy

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Languages