KAS.KASModulePhysicChild.OnPartUnpack C# (CSharp) Method

OnPartUnpack() private method

Part's message handler.
Resumes physics handling on the object.
private OnPartUnpack ( ) : void
return void
        void OnPartUnpack()
        {
            if (physicObj != null && physicObjRb.isKinematic) {
              KAS_Shared.DebugLog("OnPartUnpack(PhysicChild)");
              physicObj.transform.parent = null;
              KAS_Shared.SetPartLocalPosRotFrom(
              physicObj.transform, part.transform, currentLocalPos, currentLocalRot);
              physicObjRb.isKinematic = false;
              StartCoroutine(WaitAndUpdateVelocities());
            }
        }