Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-zero lift at zero angle of attack causes discontinuous lift when shifting from positive to negative AOA #10

Open
brihernandez opened this issue May 8, 2020 · 1 comment

Comments

@brihernandez
Copy link
Owner

Wings don't actually ever use the negative side of the lift curve because angle of attack lookup is always done with a positive number. This is why when wings have a nonzero lift at angle 0, it creates discontinuities.

This can be worked around by making a wing that creates zero lift at 0 degrees, but is set on the plane at some positive angle.

@josephsipos
Copy link

josephsipos commented Jul 28, 2021

Another solution is to have a minAngleOfAttack. And if the angleOfAttack goes bellow it then set it to that number. That way the wing will always have lift at minAngleOfAttack.

angleOfAttack = Vector3.Angle(Vector3.forward, localVelocity);
if (angleOfAttack < minAngleOfAttack)
{
	angleOfAttack = minAngleOfAttack;
}`

```

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants