Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualJ.B47

Posted 03 October 2012 - 01:19 PM

Well... distance or time and velocity, you don't need all of them. You have to know the direction of motion (as an angle or just give the velocity as a vector). In the first case, you have to use trigonometry (posX = posXold + velocity*time*sin(angle), posY = posYold + velocity*time*cos(angle)), in the second case it's just pos = oldpos + time * velocity (pos and velocity as a vector).

But seriously, that are really basic questions usually covered in high school maths and physics, I strongly recommend you read up on basic algebra, geometry and kinematics.


You are being a ****. I ended school a long time ago and I don't remember anything, and you don't know nothing about the educational system of my country (It's 100% s***). I don't won't to learn, I just wanted the algorithms or functions. I think you were here to help people, not to judge them. I'm being mean because you are

#1J.B47

Posted 03 October 2012 - 01:19 PM

Well... distance or time and velocity, you don't need all of them. You have to know the direction of motion (as an angle or just give the velocity as a vector). In the first case, you have to use trigonometry (posX = posXold + velocity*time*sin(angle), posY = posYold + velocity*time*cos(angle)), in the second case it's just pos = oldpos + time * velocity (pos and velocity as a vector).

But seriously, that are really basic questions usually covered in high school maths and physics, I strongly recommend you read up on basic algebra, geometry and kinematics.


You are being a ****. I ended school a long time ago and I don't remember anything, and you don't know nothing about the educational system of my country (It's 100% s***). I don't won't to learn, I just wanted the algorithms or function. I think you were here to help people, not to judge them. I'm being mean because you are

PARTNERS