/grid

uniform-grid and loose/tight double-grid impl for rust and bevy.

Primary LanguageRust

grid

uniform-grid and loose/tight double-grid impl for rust and bevy.

examples

arrow keys: move current agent / camera
z, x:       swhtch current agent

bevy_ugrid

cargo run -r --example bevy_ugrid

blue:   agent
green:  uniform cell
red:    current agent bumped other

bevy_ugrid

many_ugrid

cargo run -r --example many_ugrid

many_ugrid

bevy_dgrid

cargo run -r --example bevy_dgrid

blue:   agent
green:  loose cell
yellow: loose cell aabb rect
gray:   tight cell
red:    current agent bumped other

bevy_dgrid

many_dgrid

cargo run -r --example many_dgrid

many_dgrid

thanks for