IEnumerator GetIn(Collision other) { Vector3 edgeVel = Vector3.Project(velBeforeHit, transform.right); yield return(new WaitForFixedUpdate()); edgeCol.PreGetIn(other, edgeVel); }
IEnumerator GetIn(Collision other) { Vector3 edgeVel = Vector3.Project(velBeforeHit, rightBeforeHit); yield return(new WaitForFixedUpdate()); edgeCol.PreGetIn(other, edgeVel, OnStabOver, transform); //yield return new WaitUntil() }