Moving platforms

Adding moving platforms is much simpler than we think, because 3D Game Kit has prepared prefabs for us. A moving platform is an object that follows a waypoint system in order to move. It can do this in multiple ways, moving in the following paths:

  • One time movement
  • Cyclic
  • Repetitive back and forth

Now, let's start adding some challenges to our game. Try to create an impossible jump between the static platform and the terrain. If I don't add a moving platform to this space, the player won't be able to get to the other side of the level. So, by going to Assets | 3D Gamekit | Prefabs | Interactables, we will drag the moving platform prefab to the scene or the Hierarchy, and then move it to the right place. Take a look at the ...

Get Hands-On Game Development without Coding 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.