Original Post
Hi guys! I''m not good on Math and I''m having some problems...
Let''s say I have a PERSON stopped at (X = 0 and Y = 0), and I want it to WALK 10 Kilometers in a ANGLE of 45º.
Since it''s 2D, it''s quickly easy. You have to do something like this:
x = cos((45 * PI) / 180) * 10;
y = sin((45 * PI) / 180) * 10;
And you''ll certainly find the new XY position of the PERSON.
But, How Do I do this in a 3D world (with X, Y, Z and ANGLEX, ANGLEY and ANGLEZ)?
Well, I imagine that a hard combination of that calculation could give me the result I want, but I would like to know, A specific FORMULA to do that directly.
Does anyone knows?
Thank you guys! Any help will be apreciated.
Fernando.