I was looking in the SDK but I have no idea how I would extract the data for the telemtry for motion ? The aircraft tutorial is not there ?
- Code: Select all
FlightModel
//Constructors/Producers
GetFlightModel() -> FlightModel
getFlightModel(AircraftInstance) -> FlightModel
//Methods
FlightModel.ForceMultiplier() -> float
FlightModel.OrientationLocal() -> quat
FlightModel.PositionLLA() -> dvec3
FlightModel.PositionLocal() -> dvec3
FlightModel.VelocityLocal() -> dvec3
FlightModel.fromBodyToWorld(dvec3) -> dvec3
FlightModel.fromWorldToBody(dvec3) -> dvec3
FlightModel.getPBH() -> vec3
FlightModel.isPositionLocalDirty() -> bool
FlightModel.markPositionLocalDirty() -> void
FlightModel.setPBH(vec3) -> void
Thats where I need the data from then we can get the Pitch, Roll, Yaw, Surge, Heave and Sway