Unity/C# Challenge 52.5: The Elevator Jitter.

Alec Oney
Nov 24, 2021

Challenge: Fix the elevator jitter.

Currently, when we go up on our elevator, the movement up is not smooth. To fix this, we will first add a box collider (as a trigger) to our elevator, and drag the collider to encompass the player’s landing area:

Then we will add the code to use this collider in our elevator script:

Which will smooth out our elevator ride:

--

--