Debugging
- If the lid doesn’t rotate at all, make sure you are adding the game frame delta time to the elapsed time, or it will stay 0, making the percentFinished 0, so it just never changes
- If the lid keeps rotating past where you wanted it to go, make sure you are using an if-statement to only change the local rotation if the percent finished is less than 1.
- If the rotation doesn’t go the correct direction, double check that you are using the same axis that you decided on in the beginning.