Lock on system interfering with character alignment

You need to split the XYZ values for your align to floor code. Negate the XY and don’t plug in the z.