This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

In unity you create an object, add a rigidbody or not and a collider, with onCollisionEnter you can detect if another collider is touching your object. Godot has signals, area2D or area.
And that's where I don't get it... since Godot does not have an "onCollision/TriggerEnter" etc, I have to create an Area2D as a child of my kinematic object, duplicate the collision, make it slightly larger, change collision mask and layer and set it as a child of the Area2D, which seems like a rather ugly way to do it and a waste of an already existing collider.I mean this does not look right at all...
enter image description here

in Engine by (173 points)

1 Answer

0 votes

Kinematic bodies typically detect collision by using the KinematicCollision2D object returned by movement functions. See this page for more details.

by (1,311 points)
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.