Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | daniilpol |
I have area3d. It’s constantly moving. There are many of these objects. I want to track a collision with a specific object, and do an action on that. But I don’t want to do multiple area , for tracking. How can I determine which object it collided with?
func Clash_with_a_player(body):
print(body) # "Strange:[KinematicBody:1446]"
if body == "Strange:[KinematicBody:1446]":
print("GGG")