• 2D
  • Area2D with RigidBody2D does not collide with another RigidBody2D

I have a player character that is an Area2D and it has a RigidBody2D as a child node. When it encounters another RigidBody2D, they don't collide.

If I turn the root node (Area2D) into a RigidBody2D then they do collide.

Can an Area2D node have a RigidBody2D child and still collide properly with other RigidBody2D nodes?

Thanks

When an Area2D has a RigidBody2D child, then only that RigidBody2D child will collide with the other RigidBody2D nodes. Area2D itself does not collide with other collision nodes-the most it could do is to check for overlaps.

Yes, I understand that, and this is what I was expecting. But my RigidBody does not collide with other rigid bodies for whatever reason. But, as stated above, it does collide when the root node is a rigid body instead of an Area2D.

@mechPenSketch said: When an Area2D has a RigidBody2D child, then only that RigidBody2D child will collide with the other RigidBody2D nodes. Area2D itself does not collide with other collision nodes-the most it could do is to check for overlaps.