How to Switch door collision

I learned from a Youtuber how to open and close a door with the Flip Flop node by pressing the E key.


In the beginning, the door was not set with collision, and the character could go through freely, so I added collision to the door, but when the door was opened, the character still could not pass through

Can anyone please tell me how to disable the collision when the door is open and enable it when the door is closed?

You put collision on the frame? Then

image

1 Like

Sounds like the same tutorial issue as in here:

Thanks for your reply, I will try it.

1 Like

Thanks! That’s really helpful!