+1 vote


Does anyone know how I can make the" player" fall from one platform to another through it, as in the Mario Bross games. I know the "one way collision" function, but this does not allow you to do it in the opposite direction.
Any ideas?

Thank you.

in Engine by (25 points)

1 Answer

+1 vote

You can try setting

$CollisionShape2D.disabled = true

temporarily until the player is clear of the platform in question

by (1,650 points)

Thank you. I'll try. Anyway, you would mind being a little more precise. I'm quite new to Godot ...

Thanks again.

The platform the player is standing on has a collision shape child node right? It's hard to be more specific when I can't see your code / node tree structure.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.