-
-
Notifications
You must be signed in to change notification settings - Fork 23.7k
Open
Labels
Description
Tested versions
4.5
System information
W10
Issue description
When you toggle collision mask and layer (toggle i.e. change between 0 and 1), the overlapping areas will not update.
Video illustrating the problem:
godot.windows.editor.dev.x86_64_OyoVe5Vv67.mp4
The left rectangle is StaticBody2D, the right rectangles are both Area2Ds and the Disable checkboxes will toggle collision masks and layers.
The areas show as red when overlapping body, blue when overlapping another area and pink when overlapping both body and area.
You can see that toggling the body does not update areas. Only when you toggle area, it will update its overlap status with the body. Toggling area will correctly update the overlap status of another area.
Steps to reproduce
Run the MRP scene and play with buttons.