feat: add support for Voxels collider (#823)

* feat: start adding voxels support and some additional testbed demo settings

* feat: add support for parry’s new Voxels collider shape

* fix voxels demos

* feat: support rectangular voxels and additional voxels initialization

* chore: switch to parry 0.20

* chore: fix cargo doc

* Fix testbed build
This commit is contained in:
Sébastien Crozet
2025-04-24 12:11:53 +02:00
committed by GitHub
parent 1c67c5e7f2
commit e44f636249
27 changed files with 891 additions and 223 deletions

View File

@@ -68,7 +68,7 @@ vec_map = { version = "0.8", optional = true }
web-time = { version = "1.1", optional = true }
num-traits = "0.2"
nalgebra = "0.33"
parry2d-f64 = "0.19.0"
parry2d-f64 = "0.20.0"
simba = "0.9"
approx = "0.5"
rayon = { version = "1", optional = true }

View File

@@ -69,7 +69,7 @@ vec_map = { version = "0.8", optional = true }
web-time = { version = "1.1", optional = true }
num-traits = "0.2"
nalgebra = "0.33"
parry2d = "0.19.0"
parry2d = "0.20.0"
simba = "0.9"
approx = "0.5"
rayon = { version = "1", optional = true }

View File

@@ -71,7 +71,7 @@ vec_map = { version = "0.8", optional = true }
web-time = { version = "1.1", optional = true }
num-traits = "0.2"
nalgebra = "0.33"
parry3d-f64 = "0.19.0"
parry3d-f64 = "0.20.0"
simba = "0.9"
approx = "0.5"
rayon = { version = "1", optional = true }

View File

@@ -73,7 +73,7 @@ vec_map = { version = "0.8", optional = true }
web-time = { version = "1.1", optional = true }
num-traits = "0.2"
nalgebra = "0.33"
parry3d = "0.19.0"
parry3d = "0.20.0"
simba = "0.9"
approx = "0.5"
rayon = { version = "1", optional = true }

View File

@@ -63,7 +63,7 @@ profiling = "1.0"
puffin_egui = { version = "0.29", optional = true }
serde_json = "1"
serde = { version = "1.0.215", features = ["derive"] }
indexmap = { version = "2", features = ["serde"] }
# Dependencies for native only.
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]

View File

@@ -63,6 +63,7 @@ profiling = "1.0"
puffin_egui = { version = "0.29", optional = true }
serde = { version = "1.0.215", features = ["derive"] }
serde_json = "1"
indexmap = { version = "2", features = ["serde"] }
# Dependencies for native only.
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]

View File

@@ -64,6 +64,7 @@ bevy_pbr = "0.15"
bevy_sprite = "0.15"
profiling = "1.0"
puffin_egui = { version = "0.29", optional = true, git = "https://github.com/Vrixyz/puffin.git", branch = "expose_ui_options" }
indexmap = { version = "2", features = ["serde"] }
# Dependencies for native only.
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]

View File

@@ -65,6 +65,7 @@ bevy_pbr = "0.15"
bevy_sprite = "0.15"
profiling = "1.0"
puffin_egui = { version = "0.29", optional = true }
indexmap = { version = "2", features = ["serde"] }
# Dependencies for native only.
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]