Hello
my player is knimaticbody2d and my enemy is rigidbody2d
my goal is to detect whenever the rigidbody hits the kinematicbody and when it does I want to player to hide()
I tried several times , and searched the web , but to no avail
my player nodes are collisionshape2d and sprite, the same goes for the enemy
the way to do this is probably by using area2d but I couldn't figure it out
please help me