Skip to content

Fixed SimulateAerodynamicForceAt's velocity calculation#500

Merged
djungelorm merged 1 commit intokrpc:masterfrom
BenChung:master
Oct 7, 2018
Merged

Fixed SimulateAerodynamicForceAt's velocity calculation#500
djungelorm merged 1 commit intokrpc:masterfrom
BenChung:master

Conversation

@BenChung
Copy link

@BenChung BenChung commented Oct 1, 2018

Partially closes #496 by correctly calculating air-relative velocity for FAR. Despite being named velocityWorldVector, CalculateVesselAeroForces is actually expecting a velocity in the air-relative frame. This patch corrects for the rotation of the planet before calling into FAR.

@djungelorm djungelorm merged commit b3a3295 into krpc:master Oct 7, 2018
@djungelorm djungelorm added this to the 0.4.8 milestone Oct 7, 2018
@djungelorm djungelorm added bug Something isn't working service:space-center mod-compatibility Compatibility issue with other mods labels Oct 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working mod-compatibility Compatibility issue with other mods service:space-center

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SimulateAerodynamicForceAt does not match real forces

2 participants