Anderoo99 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.
MetalCaveman Hi! move_and_collide returns a KinematicCollision2D object, which I believe you can use for what you want. https://docs.godotengine.org/en/3.1/tutorials/physics/using_kinematic_body_2d.html Alternatively, you can add an Area2D and use it to determine when your KinematicBody has collided with something. https://docs.godotengine.org/en/3.1/classes/class_area2d.html?highlight=area2d Hope this helps, I've used something similar to the Area2D method, but in 3D and it worked pretty well. :)
Anderoo99 Thanks @MetalCaveman , I was able to figure it out by myself, thats why i didnt check the forum. Sorry for the late reply