private void UpdatePropertiesWithAnimation() { if (anim) { if (anim.isPlaying && !currentlyAnimating) { currentlyAnimating = true; } else if (currentlyAnimating && !anim.isPlaying) { currentlyAnimating = false; FARAeroUtil.SetBasicDragModuleProperties(this.part); //By doing this, we update the properties of this object AttachNodeCdAdjust(); //In case the node properties somehow update with the node; also to deal with changes in part reference area } // bayProgress = bayAnim[bayAnimationName].normalizedTime; } }
public void UpdatePropertiesWithShapeChange() { FARAeroUtil.SetBasicDragModuleProperties(this.part); //By doing this, we update the properties of this object AttachNodeCdAdjust(); //In case the node properties somehow update with the node; also to deal with changes in part reference area }