Remove anti-jitter check
This commit is contained in:
@@ -338,9 +338,7 @@ impl KinematicCharacterController {
|
||||
) {
|
||||
// Apply the snap.
|
||||
let snap_distance = hit.toi - offset;
|
||||
if snap_distance.abs() > 1.0e-5 {
|
||||
result.translation -= *self.up * snap_distance;
|
||||
}
|
||||
result.translation -= *self.up * snap_distance;
|
||||
result.grounded = true;
|
||||
return Some((hit_handle, hit));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user