void State_TransitionDown_Update() { float t = transitionDown.GetPercentageTime(); gameObject.transform.SetPosition(MMath.CerpVector(upPos, downPos, t)); gameObject.transform.rotation.Angles = MMath.CerpVector(upRot, downRot, t); }