Godot character moves along with the StaticBody below it

Godot character moves along with the StaticBody below it.

When CharacterBody2D is on top of StaticBody2D, I want CharacterBody2D to move with it as StaticBody2D moves on the X axis, how can I do that?

Godot Version

Godot 4.3

Change the static body type to an AnimatableBody2D

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