Pendulum---math /physics help wanted
Can someone with enough experience in math and physics will help me with a problem i have?
I want to create a pendulum with a bomb attached to it, as it swings i want to be shown the trajectory/path of the bomb all the time while it's moving forward and back. and when the player is satisfied with the trajectory to click anywhere on the screen and the bomb to be released and follow the drawn/shown trajectory/path until collision and if not collide to run off the scene and destroy itself.
link to the image i made with what i need.