Can I detect area entered without area 2d only using collisiondetection2d?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By jujumumu

Can I detect area entered with the object that entered without area 2d only using collisiondetection2d?

:bust_in_silhouette: Reply From: kidscancode

I don’t know what you mean by “collisiondetection2d” - there is no node with that name.

Perhaps you mean “CollisionShape2D”? This node defines a shape, but not collision actions.

Detecting enter/exit of an area is what Area2D is for. CollisionShape2D defines its shape.

I meant collisionshape 2d

jujumumu | 2019-08-15 22:23