Jondolf / avian

ECS-driven 2D and 3D physics engine for the Bevy game engine.
https://crates.io/crates/avian3d
Apache License 2.0
1.48k stars 118 forks source link

~Question~ Can you construct custom collision shapes? #490

Open MountainLabsYT opened 2 months ago

MountainLabsYT commented 2 months ago

like adding vertices to a list and having that be the shape?

Aceeri commented 2 months ago

That'd be a convex hull collider. If it's concave then you'd need to decompose it into multiple convex shapes to approximate it.