Implementing slow motion
Since Remedy Entertainment's Max Payne, slow motion, or bullet time, became a popular feature in games. For example, Criterion's Burnout series has successfully explored the slow motion effect in the racing genre. In this recipe, we will implement a slow motion effect triggered by the pressing of the mouse's right button.
For this recipe, we will use the same package as the previous recipe,
BallGame in the
How to do it...
To implement slow motion, follow these steps:
- Import the
BallGamepackage into your project and, from the Project view, open the level named
- In the Inspector, create a new tag Ball, apply this tag to prefab
Prefabsfolder, and save the scene.
- Add the ...