Godot2D: Parent and Child Relationship

When I set the Parent to x=100, y=100,
and the child at x=0, y=0.

and when I RUN the code it don’t show parent child on the same position.

check out the picture.

Screenshot 2023-10-30 at 3.46.45 PM

I think that’s because the collision

my first idea would be that as well, its getting pushed to just outside the collision boundary.
what you could do just to see this in action, would be to go to the top menu.
in debug > enable visible collision shapes.

what i did then to show it a little better was to disable the sprite visibility of the player so it just shows the collision objects

seems like thats whats happening.

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

Privacy & Terms