0 votes

I have a KinematicBody2D that stays stationary most of the time. If another KinematicBody2D moves into it by using move_and_collide(), the moving object will be able to know that it has encountered a collision since the method's return value is not null. But I can't figure out if there is a way to also know a collision occurred from within the stationary KinematicBody2D itself. Of course I could always send the messages between the bodies manually, but is there a built in way to detect this?

Godot version 3.5
in Engine by (12 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.