When solving some complex physical problems, it is necessary to take into account the nuances of the environment, for example, calculating the trajectory of the barrel or wheel rolling down hilly terrain. Generating a slide that passes through control points and obeys certain requirements, followed by visualization, is the topic of this article.
Keywords: unity, 2D, visual modeling, landscape, Lagrange interpolation polynomial