Why is move_and_collide defined under PhysicsBody2D and not CharacterBody2D

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

In Godot 4.0 beta, as far as I can tell, PhysicsBody2D.move_and_collide is only safe and useful when used on a CharacterBody2D. The documentation makes it seem like using it on other body types such as RigidBody2D or AnimateableBody2D is discouraged and could lead to unexpected and erratic behavior.

Given that this is the case, why is move_and_collide defined on PhysicsBody2D and not CharacterBody2D? Is there some use of move_and_collide outside of CharacterBody2D that I am unaware of?