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: