Recent content by MstWntd

  1. M

    Calculate Y Angle in Games Project C++ Code

    Sorry, X and Y are indeed Cartesian coordinates. wind and area are not a factor. flight angle, is the inital Y angle. I would know less then you about the equations used here, i ripped it off an example i found. :shy: at the moment I am calculating the maxhight of the arrow and after...
  2. M

    Calculate Y Angle in Games Project C++ Code

    oh, its same as a maths equation, i think. I'll change it :) T= Time traveled W = Wind A = Area F = Flight Angle V= Volicity of Y G = is the gravity PI = pie Y = ((V_{0} T) + (G(T^{2}) ) / 2) + 18sin(F(PI/180)) T= Time traveled W = Wind A = Area F = Flight Angle V= Volicity...
  3. M

    Calculate Y Angle in Games Project C++ Code

    Is there something wrong in my post? I have to get the behavoir of my game right by 3pm Thursday and I still have to do the documentation! Please help me out on this :rolleyes:
  4. M

    Calculate Y Angle in Games Project C++ Code

    This isn't a home question..I just put it in here because its so basic..but in order to get my arrow to tilt as it moves I really need its new Angle..someone help!
  5. M

    Calculate Y Angle in Games Project C++ Code

    Homework Statement Hi All, I have this code for my Games Project to calculate the Projectile maths for an arrow [C++] mPosition.y = ((pmVolYint * pmTime) + (pmAcc * (pmTime * pmTime) ) / 2) + 18 * sin(pmFAngle*(PI/180)); mPosition.x = ((pmVolYint * pmTime) + ((0.065* pmWind *...
  6. M

    Trigonometry related to Archery

    Hi, Sorry for the late reply and thank you for the help! On Friday before the 2nd submission, I found a few things I was doing wrong. One thing was that my gravity was a positive number, this meant my arc was present but the Arrow would never decent! There was also something to do with the...
  7. M

    Trigonometry related to Archery

    Intro: Hello, I have spent the last four or so days searching google and this forum and as rich as both are in information and helping. I have found it very hard to get anywhere. Basically I haven't done any Maths/Physics related courses and as a result I am totally stumpped on my Games...
Back
Top