ABSTRACT

This chapter discusses the Unity physics engines, and starts with a Unity physics overview section, followed by the creation of a simple physics scene for one of our puzzle rooms. Unity has several ways to simulate physics in our projects. The chapter covers the built-in 3D physics for Unity. Physics puzzles are quite common in larger games. They bring some welcome relief from the nonstop action and can help move the story along. The point of the puzzle is that the tall slider can only be moved by removing the obstacle in front and then pushing it out of the way using another slider. These puzzles should not depend on the physical skill of the player but rather on their insights, perseverance, and vision.