Member-only story
Implementing a basic moving platform (Godot 4/C#)
Let’s see how to create a simple 3D moving platform with customisable speed and waypoints!

Video games are about characters, avatars and NPCs… but they’re also about environment, scenery and cool dynamic objects in the decor! Typically, when you’re making an adventure/platformer game, you’ll almost always need to make some animated platforms at some point.
So, today, let’s see how to make a simple moving platform in Godot 4/C#!
By the end of this article, you’ll know how to use a Path and a PathFollow node to have a platform object move along a specific path, how to have this platform loop or walk back the other way, and finally how to ensure the collider of the platform follows the visuals properly.
By the way, in this tutorial, we’ll see an example in 3D — but everything works the same with the 2D version of the nodes that we’ll study :)

Of course, don’t forget that you can get the demo scene and all the assets for this example on my Github 🚀 with all my other Godot tutorials :)
🔶 Also, the assets are from Kenney’s amazing free library!
The tutorial is also available as a video — text version is below:
With all that said, let’s dive in and discover how to setup a moving platform in Godot 4 and C#!
Oh and by the way: if you’re still a bit new to Godot 4 and C# game dev, go ahead and check out my brand new “short-read” ebook: L’Almanach: Getting Started!

This quick, practical guide will have you explore the fundamentals, and it will teach you how to setup…