How to make enimes fall straight down like

I need help with this ive been trying to work on this for along time here’s my game

have you tried making a collision that makes it where the enemy will only move if it is on the ground

Try using a raycast: