Topic was automatically imported from the old Question2Answer platform.
Asked By
Godot_Starter
I have 2 KinematicBody2D (A and B) and one Area2D. If body A entered the Area2D, I want to print “Body A entered”. If body B entered the Area2D, I want to print "Body B entered.
Thats like the scene looks:
-Main
–AKinematicBody2D
–BKinematicBody2D
–Area2D
I already know how to conect the body_entered signal with another node, but I do not know how to differentiate between the two bodys,