Sorry to double post, but I had a question for @R0J0hound :
I was wondering if there was a way to speed up the object that travels along the path?
I'm only just getting used to physics so I may be way off here. I'm trying to set my object to have gravity 30 so that it travels up and down quite fast. The algorithm in your capx seems to take the mass of the object into account, but will always give it enough vx and vy to get to it's destination, therefore putting it at a constant speed regardless of the mass.
For now I was able to just cobble together a solution where I multiply the vx and vy by 1.75 for gravity 30, which works out fine (the bullet travels much faster and follows the line nicely), but surely there is a better way of doing it?
Is there another or better way to speed up the object as it travels along the path, be it by increasing the gravity or otherwise?boolean2013-01-20 03:35:01