Why collisions do not work when inheritance differs by more than 1?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By LeereNix
:warning: Old Version Published before Godot 3 was released.

I am not sure if it is a bug or normal behavior, so I decided to ask first.
CollisionShape2D does not collide with KinematicBody2D (and any body by the way) if the difference in inheretance levels is greater then 1.
So, basic behavior shown on pic. CollisionWalls are working well, and CollisionShape inherited from StaticBody (no matter what type is here) does not work at all. I have tried it on blank project and it is still the same.
Is there any workaround?
enter image description here

Is the Map node moving around at all? That may be causing issues with the StaticBody child.

literalcitrus | 2017-12-18 03:35

Make sure that the collision layer & mask of StaticBody2D match the values of MAP.

wombatstampede | 2017-12-18 16:43