rapier
rapier copied to clipboard
Shape Cast Does Ignores Collisions With Heightfield
I have a simple scene that I've built in bevy_rapier3d
, and after doing some testing it appears that a cast_shape
will never report intersections with a heightfield. cast_ray
works, and cast_shape
will still collide with a cuboid just fine.
Is this expected or is it a bug?
This is a known bug. Shape-casting isn’t implemented for heightfields yet. A workaround is use a TriMesh
instead if shape-casting is required.
I'll try a TriMesh
then, thanks!
I'll leave this issue open for anybody else who might stumble on this.
Linear shape-casting on heightfields works now in Rapier 0.16.