In my code i create dynamically village
My nodes config
This function is in Node
var newVillage = newVilageScene.instance()
newVillage.setup("Kazak Dum", Vector2(32,32))
Village is simple one
Also i have army KinematicBody2D and it passes right through village, and can stand on top of it. Army moves with function moveandslide()
When I add tiles with collision army cant move through it.
For both army and village both layer and mas is set to 1
Do you know why this is happening?
Thank you for your help