Basically I want to mimic this
May this be of help : Drawing a projectile trajectory like Angry Birds using LibGDX