Hi,
I'm new to programming on Codea and apps in general. What is the best way to animate an object (such as an ellipse) in an arc like a parabola (in a parabolic motion)? I've searched around on the forums and online and I can't seem to figure it out.
Thanks!
Comments
@Staples I'm not sure what you're after, but is it something like this.
Yeah that's perfect. I tried using a variable "thrust" like in the Lunar Lander tutorial, but it didn't look as professional as this. Thanks!
@dave1707 How would you get this to animate upon loading? I've tried putting the code from function touched(t) in the draw() function and nothing happened. I've also tried having a separate function called animate() where a timer is set in the draw() function and the animate() function is called every 300 frames, but neither of those seem to work.
@Staples This animates upon loading.
@dave1707 Thanks!