parry icon indicating copy to clipboard operation
parry copied to clipboard

Wrong witness1 value for ShapeCastHit in cast_shapes_voxels_shape

Open dylanowen opened this issue 4 months ago • 0 comments

https://github.com/dimforge/parry/blob/d955f7527847997ea6a1f4c42602ff9b4a8669d3/src/query/shape_cast/shape_cast_voxels_shape.rs#L23-L42

The returned witness1 should be in local space for the voxel shape. However, we delegate the shape cast to a cuboid representing the individual voxel and never transform the result from this hit back into voxel-shape space.

dylanowen avatar Aug 29 '25 05:08 dylanowen