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 ...

Get Building an FPS Game with Unity now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.