Try what happens without offset I think should be correct

This commit is contained in:
Jan Nils Ferner
2023-01-26 23:19:18 +01:00
parent c63e2f2cbd
commit 6a75ed4b63

View File

@@ -628,7 +628,7 @@ impl KinematicCharacterController {
false,
filter,
)
.map(|hit| hit.1.toi + offset)
.map(|hit| hit.1.toi)
.unwrap_or(max_height);
// Remove the step height from the vertical part of the self.