Hi, I want to check if my kinematic body 2d has collided so I can assign a new animation. Like for example OnCollisionEnter2d in unity. Ive used the moveAndCollide function.
move_and_collide returns a KinematicCollision2D object, which I believe you can use for what you want.
Alternatively, you can add an Area2D and use it to determine when your KinematicBody has collided with something.
Hope this helps, I've used something similar to the Area2D method, but in 3D and it worked pretty well.
No problem, glad to hear you figured it out.
Thanks @MetalCaveman , I was able to figure it out by myself, thats why i didnt check the forum. Sorry for the late reply