Adding Physics to the player character

Godot Version

4.3.stable

Question

VERY newbie here.
Am I able to add rigidbody2d physics to characterbody2d? Im thinking of using the rigibody2d as a child node, and having the characterbody take over the physics from it. Is that doable or do I have to do it in some other way?
image

Hello, @marus! I think you’ll have to choose one of these.
If you wants use physics like at RigidBody2D, read this tip from docs about CharacterBody2D:

A CharacterBody2D can be affected by gravity and other forces, but you must calculate the movement in code. The physics engine will not move a CharacterBody2D.

Read more about CharacterBody2D on official documentation.