Create Moving Platforms and Elevators with C# in Unity

Offered By
Coursera Project Network
In this Guided Project, you will:

Become familiar with implementing moving platform mechanics with animation and code.

Understand OnTrigger events and how the object hierarchy works inside Unity.

Be able to manipulate GameObjects using the Transform component and Vector3's Lerp function.

Clock1 hour
BeginnerBeginner
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

In this one-hour, project-based course, you'll be able to learn how to create a moving platform, allowing the Player to move as a passenger on it. You'll also create a button-controlled elevator and write the underlying code to make it work. The guided project will introduce you with the following Unity concepts: - Colliders - Object Hierarchy - Coding techniques including Transforms and Lerp. - OnTrigger Events This series also makes use of the sci-fi-themed Unity project created in Create Power-Ups and Obstacles with C# in Unity. It compliments this guided project and, although not a prerequisite, is recommended for a more well-rounded understanding of the concepts presented herein. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Skills you will develop

Video-game DevelopmentC sharp (C#) Programming LanguageUnity 3DUnityApplication development

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Introduction and License Activation

  2. Create a Moving Platform

  3. Make Player Stay in the Moving Platform

  4. Create an Elevator with Buttons

  5. Write an Elevator Floor Button script

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.