making CharacterBody2D pushable by CharacterBody2D

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

I have an enemy and a player. I want the enemy to be able to push the player. currently the player will stop the enemy from moving. the game is top-down not side-scrolling btw.

:bust_in_silhouette: Reply From: OgGhostJelly

future me has descended from the heavens to give past me the answer.
pretty much it’s either program your own pushing mechanic or use rigidbodies. that’s really the only way.