Try what happens without offset I think should be correct
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user