How do I make geometry invisible?

I want to make walking up and down stairs smoother. My solution was to add an invisible ramp on the stairs to make this possible. How do I turn geometry invisible so that it looks like the player is walking on the stairs but they are walking on an invisible ramp instead.

Set ‘hidden in game’ on the ramp.