How to use SimulateAerodynamicForceAt?
jpxthu opened this issue ยท 1 comments
I tried SimulateAerodynamicForceAt
in many ways, such as using different references and installing FAR, I could not obtain correct aerodynamic force - compared with vessel.Flight().AerodynamicForce
. How to use this function correctly? I want to do something similar to Trajectory
.
Sample code I have tried:
var body = vessel.Orbit.Body;
var res = vessel.Flight().SimulateAerodynamicForceAt(
body,
new Tuple<double, double, double>(0, 0, 0),
sc.TransformVelocity(vessel.Position(body.ReferenceFrame), vessel.Velocity(body.ReferenceFrame), body.ReferenceFrame, vessel.ReferenceFrame));
Solved. #587