Hello! I have a KinematicBody2D and a RigidBody2D. I need to check if the kinematicbody collides with the rigidbody but it is not working and I don't know why. The collision occurs but the code does not print anything.
Here is the code in the KinematicBody:
Here is the KinematicBody2D node parameters:
Here is the KinematicBody2D collision shape:
Here is the RigidBody2D node parameters:
Here is the RigidBody2D collision shape:
I tested another way to check the collision using RigidBody2D bodyentered signal and it is working fine, but I need to check the kinematicbody2d collision with the rigidbody using moveand_collide because I need to know if both collide in advance.
Here is the code: