This video is about moving something in an arc. The example doesnt work in every scenario but i tried to make it easy to understand for anyone watching. The program calculates two endpoints using the quadratic formula and moves a model from the x coordinate of 0 to the distance between the two endpoints.
The height of the model is this code:
In this example XPlace is the name of whatever the objects x coordinate is in the program.
Whatever the object is will be moved horizontally by this code:
This part of the program may be the most important, the object is moved by a small amount depending on how fast the user wants to move it. This code is repeated by Panda3D calling a loop that is executed every frame, and the object is moved as long as the x coordinate of the object is less than the distance between the arc's two endpoints. When the object is at the maximum distance the function stops being called and its removed from Panda3D's task manager loop.
If you would like to watch the video it is here:
Hope you found this useful!