Fix move and slide regression by allowing multiple collision direction
This commit is contained in:
parent
2eb3c9580f
commit
ce52d3e7b5
1 changed files with 0 additions and 3 deletions
|
@ -1223,9 +1223,6 @@ void CharacterBody3D::move_and_slide() {
|
|||
}
|
||||
|
||||
void CharacterBody3D::_set_collision_direction(const PhysicsServer3D::MotionResult &p_result) {
|
||||
on_floor = false;
|
||||
on_ceiling = false;
|
||||
on_wall = false;
|
||||
if (up_direction == Vector3()) {
|
||||
//all is a wall
|
||||
on_wall = true;
|
||||
|
|
Loading…
Reference in a new issue