O'Reilly logo

Building an FPS Game with Unity by John P. Doran

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating an elevator

Continuing with what you learned from the previous section, we can take animations to another level by making moving platforms. However, UFPS comes with its own built-in way of doing this.

  1. From the Project tab, open the Chapter 6_3_ElevatorStart level. This will give us a simple starting point to create an elevator.
    Creating an elevator

    Alternatively, use a level that we created previously and add an elevator to it.

  2. From Prototype, create a cube by pressing Ctrl + K. Move it to ground level in a 3 x 3 x 1 size cube.
    Creating an elevator
  3. Go to the Object editing mode and set ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required