Collision of Area2D child of Node2D / Animation in Area2D

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

I have a main scene with an Area2D as a player and I generate random itens that are scenes with Area2d too.
I’ve set the area entered event of a player. He recognize the colision correctly.
But if i define an Node2D as a root of item instead the Area2d (Like Node2D->Area2D->…) the player don’t recognize the colision more.

Why I try to put the Area2D inside the Node2D?
Because I want to animate the position of item relactive to the main scene. I want this because I manipulate the moviment of item dinamcaly in the main scene.

:bust_in_silhouette: Reply From: EmanuelOzorio

I create a aux variable to sum in position.y and animate the variable instead the position.