How to ignore the angle of a slope in a specific layer in CharacterBody3D

Godot Version

4.2

Question

I want to set up a floor or wall that ignores the angle of the slope in CharacterBody3D.
Certain layers can absolutely be walked on.
Objects that cannot be ridden on are treated as walls and slide down, etc.