BANANAMAN
Resident Star Battle Expert.
- Reaction score
- 150
Ok so apparently I have to finish this particular project that shows a projectile that follows the laws of projectile motion by July 11 and I'm having trouble figuring out how to go about arranging the logic flow.
So far I have a gravity component that works and a firing mechanism that sets the projectile's angle from the ground.
I'm missing it's X velocity,Y velocity before it reaches it's maximum height and the computation for max height.
I understand that the computation for it's X velocity,Y velocity is always done with respect to time but how would I go about wording the logic flow so it doesn't either stop halfway,doesn't compute at all or only computes once.
So far I have a gravity component that works and a firing mechanism that sets the projectile's angle from the ground.
I'm missing it's X velocity,Y velocity before it reaches it's maximum height and the computation for max height.
I understand that the computation for it's X velocity,Y velocity is always done with respect to time but how would I go about wording the logic flow so it doesn't either stop halfway,doesn't compute at all or only computes once.