Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Allan |
I have done the following test with the help of someone from r/Godot
NODE = Area2D > CollisionShape2D > Sprite
NODE instance A = Collision Layer 0, Collision Mask 0,1
NODE instance B = Collision Layer 7, Collision Mask 0,1
Output:
NodeA.get_overlapping_area()[0].name = NodeB
NodeB…get_overlapping_area()[0].name = NodeA
I was told once NodeB detected NodeA, NodeA in return will be forced to detect NodeB. I was looking for a setup where NodeB can detect NodeA but not the other way around, can this be possible?