diff options
-rw-r--r-- | scene/3d/physics_body_3d.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/scene/3d/physics_body_3d.cpp b/scene/3d/physics_body_3d.cpp index 331a460dee..e1e6153bfb 100644 --- a/scene/3d/physics_body_3d.cpp +++ b/scene/3d/physics_body_3d.cpp @@ -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; |