Godot Tutorial: Create a One Way Collision Moving Platform

Опубликовано: 04 Ноябрь 2024
на канале: Kyle Luce
2,265
53

Hi Fellow GameDevs,

This is Tutorial we will learn how create One Way Collision Moving
platforms

What is one way collision?

It means you can jump from the bottom freely and pass through the platform
while landing on top. Similar to what is used by Super Mario Brothers types
of games.

I've seen quite a few issues in implementing this correctly on the forms etc.
This is due to the "one way collision" flag implementation being more or less
only for static bodies. When used for moving platforms we tend to get bugs.

Not no worries, this video has the work around for you :) !

In this video I'll show how to:

Create a One Way collision Moving Platform that is easily modifiable
Configurable speed from UI
Configurable path from UI
Fix common issues with platforms
Falling through
Strange collision issues (preventing jumping etc)

Tools used:
Godot: 3.1.1

Github code:
https://github.com/Razzlegames/GodotT...

My current Hardware setup: https://timecubepuzzle.blogspot.com/p...