diff --git a/src/pathfinding.rs b/src/pathfinding.rs index 287f533..3a69562 100644 --- a/src/pathfinding.rs +++ b/src/pathfinding.rs @@ -320,7 +320,7 @@ fn negotiate_path( "{entity:?}: Direction: {direction:?}, Distance: {}", (next - start).length() ); - if let Some((hit, toi)) = rapier_context.cast_shape( + if let Some((_hit, _toi)) = rapier_context.cast_shape( start, transform.yaw().radians(), direction,