My journey becoming a Unity game developer: 2.5D Infinite Runner- Player using the Elevator and Moving Platform

Player using the Moving Platform and Elevator.
Elevator panel’s collider extended to reach the actual elevator itself.
Origin and Target objects created for the Elevator to move between.
Variables for the Elevator when moving.
When the Elevator is called, is it going down or not.
Using Fixed Update() and MoveTowards() functions, check IF the Elevator is going down or up.
Using Fixed Update() and Lerp() functions, check IF the Elevator is going down or up.
Using OnTriggerEnter(), check IF the Player is entering or exiting the elevator.
Variables to check on the panel’s button and the Elevator itself.
Gain access to the Elevator object, and checking IF the elevator exists.
When the Player is inside the Panel’s collider, checking IF the Player pressed the button to call the elevator.
Moving platform setup.
Setup the Moving Platform to move from Point A to Point B.
Platform moving from Point A to Point B with the player on it.
Player using the elevator and moving platform with the MoveTowards() function.
Elevator given a 2nd collider with Is Trigger turned on and positioned inside the elevator.
Player using the elevator and moving platform with the Lerp() function.

--

--

--

Learning to become a Unity game developer.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

This 3-year project is one of my proudest: a more accessible background check form for a reputable…

Kubernetes get started — Deploy a simple web server

How to set up your java project with camunda

No, Virginia, You Don’t Need a Degree…

28th Lotto Winning Results

How To Choose The Right Database For An Application

Java Multithreading, Concurrency, and Parallelism — Part 17.5

Python CLASSES AND OBJECTS’ ATTRIBUTES: everything you need to know

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Rhett Haynes

Rhett Haynes

Learning to become a Unity game developer.

More from Medium

My journey becoming a Unity game developer: 2.5D

Day 7 of my journey to becoming a Unity game developer

Learn to code by making 2 D space shooter.

Game Development Mistakes