public bool CanApplyEntireMovement(CapsuleTransform a_Transform)
 {
     if (a_Transform.GetPosition() != m_Position)
     {
         if (!a_Transform.CanMove(m_Position - a_Transform.GetPosition(), true))
         {
             return(false);
         }
     }
     if (a_Transform.GetUpDirection() != m_UpDirection)
     {
         if (!a_Transform.CanRotate(m_UpDirection, m_RotateMethod))
         {
             return(false);
         }
     }
     if (a_Transform.GetLength() != m_Length)
     {
         if (!a_Transform.CanBeResized(m_Length, m_ResizeMethod))
         {
             return(false);
         }
     }
     return(true);
 }
Example #2
0
 public bool CanBeResized(float a_Length, CapsuleResizeMethod a_Method)
 {
     return(m_CapsuleTransform.CanBeResized(a_Length, a_Method));
 }