Topic was automatically imported from the old Question2Answer platform.
Asked By
Diet Estus
I have a OneWayWall scene which has the following node structure:
Node2D > StaticBody2D > CollisionShape2D
TheCollisionShape2Dhas one_way_collision set to true.
I want my player to be able to drop down through this shape when
Input.is_action_pressed("down") and Input.is_action_just_pressed("special")
So, my question: What is a good way of allowing players to drop through one way platforms?
In the past, I’ve set a dropping bool to true and ignored collisions until it was changed to false a few milliseconds later. But I don’t know how to ignore collisions for one way platforms in Godot.