Testbed: switch to bevy 0.7

This commit is contained in:
Sébastien Crozet
2022-04-28 13:19:58 +02:00
parent 8ffb0d1658
commit 5063fa4203
16 changed files with 848 additions and 65 deletions

View File

@@ -642,7 +642,7 @@ fn physx_collider_from_rapier_collider(
}
} else if let Some(convex) = shape
.as_convex_polyhedron()
.or(shape.as_round_convex_polyhedron().map(|c| &c.base_shape))
.or(shape.as_round_convex_polyhedron().map(|c| &c.inner_shape))
{
let vertices = convex.points();
let mut convex_desc;