check collision between two objects

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By vonflyhighace2
:warning: Old Version Published before Godot 3 was released.

I’m trying to check when to objects are colliding or touching each other. I’ve looked at the Docs but still can’t figure out how to use the ‘body_enter’. can someone explain possibly with an example.

:bust_in_silhouette: Reply From: volzhs

There are some demo projects.
Download Demos and Examples from Download - Godot Engine
Check out 2d/platformer and 3d/platformer