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
1 Like
Everynone
(Everynone)
January 21, 2022, 11:54am
3
Sounds like the same tutorial issue as in here:
No worries. I think you accidently set the box collision on the frame!
the frame should not have the box collision
the door should have box collision
The tutor switches between tabs very quickly, it’s easy to miss.
Here they change the collision on the door:
[image]
But they never change the collision on the frame, they just show it here:
[image]
Or are you saying the frame had the wrong collision set up from the very beginning?
1 Like
Thanks for your reply, I will try it.
1 Like
Thanks! That’s really helpful!