The current research presents a novel non-linear method for optimizing headlight adjustment using vehicle dynamic modeling. The study describes the vehicle models and gives a MATLAB-based mathematical model that is used to control the headlight adjustment. The dynamic vehicle-based model employs a slip angle evaluation technique to create a state space model that accurately determines the difference between the vehicle's position and the location of the headlight. The calculation of longitudinal and lateral velocity, and the yaw rate around the Center of Gravity, is critical to the model's capacity to predict the slip angle and, thus, govern the headlight angle. The model is deduced from differential equations and governed by Newton’s law of motion. Furthermore, the study examines the effect of body stiffness, which is a crucial factor to consider when cornering, and the model achieves acceptable results within the allowable stiffness range for passenger vehicles. The simulation of the model against the car body angle shows the effective adjustment of the headlamp according to the varying degree of cornering, thus assisting in headlamp adjustment to improve ride comfort, providing strong evidence for its potential to significantly improve driving safety and comfort by optimizing headlamp adjustment. The model's consideration of body stiffness also ensures that it will contribute to the improvement of steering and vehicle handling.