Adding offset may not be the best way to do it. Aiming for a target height, and clamping is easier
( ignore the actor X and Y, keep what you have for moving it along )
( mediocre level coding )