# Wing Lift Coefficients.

In your post about wings in the car creation tutorials section it's told that the method is most likely incorrect and may need correction.
Indeed. It's wrong to multiply it with angle. Instead it's:
Flift = A * v^2 * 0.5 * rho * f(attack_angle)
Where A is frontal area, v is the velocity of car, rho is the air density and f(attack_angle) is a curve function where x axis is the angle of attack and y axis have the lift coefficient. Note that the same formula applies for drag, except that the f(attack_angle) will have drag coefficient in y axis.

A good example of lift/drag curve
How to get angle of attack? Get the dot product of velocity and wing's facing direction. Most likely the wing will not be circular. For sideways in most cases you wanna make slightly more drag and less lift(because of shape of common wings). So you can add z value to axis which takes in sideways attack angle and modifies the drag.

A simple improvement, but indeed worth it

(I don't know about latest versions of Racer or such, I am telling this according to the article in Documentation where the incorrect method shown)

Replies
5
Views
552
Replies
89
Views
17k
Replies
13
Views
3k
Replies
0
Views
219
Replies
1
Views
468