2.5D Certification: Creating a moving platform in Unity

Jaime
Nov 29, 2021

--

The next certification requirement is to create a Moving Platform prefab. Fortunately, I’ve implemented this before:

I simply adapted it in the certification. I updated it a bit to use Vector3.Distance() instead of exact points when it reaches destination because sometimes the platform gets stuck:

Now, the Moving Platform is prefabbed by dragging the component to the Project Assets:

Now, I have a working reusable moving platform:

--

--

Jaime
Jaime

No responses yet