How do I make CharacterBody2D gravity completely linear?

Godot Version

v4.7.2.stable.official

Question

I’m trying to recreate a platformer game made a while ago that has very simple gravity, but I can’t get it to be as simple in Godot. I need the CharacterBody2D to fall at a completely constant rate. I want to attach a video of an example, but I’m new and not fully sure if it’s fine for me to send video links instead.

Add constant * delta to vertical position on every frame. If you want to do it via move_and_slide() assign a constant value to the vertical component of the velocity.