|Topic was automatically imported from the old Question2Answer platform.
I have a scene with an collision shape disabled by default, and when i call
$Area2/CollisionShape.disabled = false, body_entered works with the
connect() method, but area_entered connected with the editor doesn’t work.
I cannot reproduce your problem. What exactly do you mean by “doesn’t work”? Can you upload an example project? Note that the
body_entered-signal will be only fired when a KinematicBody2D, RigidBody2D or StaticBody2D enters the Area2D, whereas the
area_entered requires another Area2D to enter your Area2D.
njamster | 2020-07-18 18:01