Adding 'swerve' to a direction
Posted
by
Skoder
on Game Development
See other posts from Game Development
or by Skoder
Published on 2011-03-03T14:54:17Z
Indexed on
2011/03/03
15:34 UTC
Read the original article
Hit count: 275
Hey.
I'm not much of a maths expert, so this is probably quite straight forward. I was playing a soccer flash game where you take free kicks. You provide Power, Swerve and Direction. I'm reading up on vectors and such so I can use the direction and power information to shoot the ball with the correct velocity. What I don't understand is how the 'Swerve' information is used. What formula connects the Swerve information with the Direction and Power? (This is all in 2D)
Thanks for any advice.
© Game Development or respective owner