Practical Difference Between area_entered/exited, area_shape_entered/exited, body_entered/exited, and body_shape_entered/exited?

Godot Version

4.4

Question

Hey!

The question is pretty much what the title says. While I do see that there is a difference between these four signal’s when using Area2D or Area3D’s in my game, are there any real, practical differences between these that would cause me to use one over the other?

Thanks in advance!

The area_* ones only detect Area2D or Area3D The body_* ones detect the other physics objects (RigidBody, CharacterBody, TilemapLayer,…)

The *_shape_* ones give you a more low-level information about the detection so you can use it directly with the PhysicsServer2D or PhysicsServer3D

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.