Door with button

Godot Version

4.3

Question

how make a door that opens if special item drops at button?

You could add a an Area to your button, which for example emits a signal (which your Door is connected to) as soon as the correct item is inside

2 Likes

Oh, thanks, can you describe it in more detail?

When the item instance is created, it will apply physics and move to the button by gravity. The button will have an Area3D and detect the item. With a signal connected with a script, the door will open. (Think of it like Minecraft, with items and pressure plates)

1 Like