0 votes

I want my one way platforms to allow my player to snap to their surface if his bottom gets within a certain number of pixels below the platform's surface. I can't see an elegant way to implement this in Godot 3.0.

As seen in this question, Godot 2.0 allowed users to specify the direction and "max depth" of one way collision.

Here is a screenshot:
enter image description here

This GitHub issue addresses the question of setting the direction in Godot 3.0, but what about setting max depth?

I assume "max depth" refers to the depth of the collider at which another colliding object will snap to the surface of collision. Is this right?

If so, is there a way to set it in Godot 3.0?

in Engine by (1,567 points)

Please log in or register to answer this question.

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 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 webmaster@godotengine.org with your username.