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

Gun sights don't match FG bullets deacceleration #597

Open
NikolaiVChr opened this issue May 14, 2024 · 1 comment
Open

Gun sights don't match FG bullets deacceleration #597

NikolaiVChr opened this issue May 14, 2024 · 1 comment

Comments

@NikolaiVChr
Copy link
Owner

NikolaiVChr commented May 14, 2024

This is due to a bug in FG where wrong unit is used in drag computation so they do not slow down as fast as they should.

Will temp. fix this by using wrong units in F-16 gun sights also.

In AIBallistic.cxx it does this calc with speed being in KT, but it should be in FPS:

speed -= (Cdm * 0.5 * rho * speed * speed * _drag_area/_mass) * dt;

rho is in slugs/ft3
_drag_area is in ft2
_mass is in slugs
Cdm is unitless
dt is in s

NikolaiVChr added a commit that referenced this issue May 14, 2024
@NikolaiVChr
Copy link
Owner Author

Have committed a workaround for this.

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

No branches or pull requests

1 participant