I followed the instruction and everything worked just fine until I came to create the deadzone and collision layer, then the player didn't touch the ground and keep falling. Does anyone encounter the same problem?
func _physics_process(delta):
if is_on_floor() == false:
velocity.y += gravity*delta
if velocity.y > 500:
velocity.y = 500