private void DeployCanards()
{
// start the animation and adjust aero for deployed canards
Debug.Log(string.Format("{0} Deploying canards", _myModTag));
if (_deployAnimation != null)
{
_deployAnimation.Toggle();
}
Debug.Log(string.Format("{0} setting CoMOffset in Y axis from {1} to {2}", _myModTag, part.CoMOffset.y.ToString(), _origComOffset.y.ToString()));
Debug.Log(string.Format("{0} setting CoPOffset in Y axis from {1} to {2}", _myModTag, part.CoPOffset.y.ToString(), _origCopOffset.y.ToString()));
part.CoMOffset.Set(_origComOffset.x, _origComOffset.y, _origComOffset.z);
part.CoPOffset.Set(_origCopOffset.x, _origCopOffset.y, _origCopOffset.z);
part.CoLOffset.Set(_origColOffset.x, _origColOffset.y + 1.45f, _origColOffset.z);
if (_liftingSurface != null && part.Modules.Contains<ModuleLiftingSurface>())
{
_liftingSurface.useInternalDragModel = true;
_liftingSurface.deflectionLiftCoeff = 0.35f;
}
_deployed = true;
}