View Single Post
Default   #58   Coda Coda is offline
Developer
Quote:
Originally Posted by Potironette View Post
This way is simpler :o! So, ultimately I can use the position equation because I can solve for the acceleration, initial velocity and time? Is this something that I just need to do a lot of problems for before recognizing a sort of pattern :/ ?

Thanks for helping me with this!
Pretty much, yep. There are two general strategies to the pattern:

1. Look at what you're trying to figure out and identify what information you lack to determine it, then figure out how to get that information.
2. Look at the things you know and see what you can figure out using that to try to manipulate it into a form you know how to solve.

I saw that I was looking for a distance, so I knew that either I'd be using the position function, or I'd be using the work formula, since both of those have distance as a term.

In this particular case, either of those choices would work out just fine. It would be good for you to figure out how to solve it using work -- it's actually several fewer steps to do it that way; I'm just used to solving the acceleration route because it doesn't involve mass, and 2D video game physics don't care much about mass.

Happy to help!
Games by Coda (updated 4/8/2025 - New game: Marianas Miner)
Art by Coda (updated 8/25/2022 - beatBitten and All-Nighter Simulator)

Mega Man: The Light of Will (Mega Man / Green Lantern crossover: In the lead-up to the events of Mega Man 2, Dr. Wily has discovered emotional light technology. How will his creations change how humankind thinks about artificial intelligence? Sadly abandoned. Sufficient Velocity x-post)
Old Posted 12-15-2016, 11:36 AM Reply With Quote