Exemple #1
0
 /// <summary>
 /// Moves the kinematic object.
 /// </summary>
 /// <param name="applyFixedLocation">Should the fixed location be applied?</param>
 public void Move(bool applyFixedLocation)
 {
     if (applyFixedLocation)
     {
         RestoreFixedLocation();
     }
     m_KinematicObject.Move();
     if (applyFixedLocation)
     {
         AssignFixedLocation();
     }
 }
Exemple #2
0
 /// <summary>
 /// Moves the kinematic object.
 /// </summary>
 public void FixedMove()
 {
     RestoreFixedLocation();
     m_KinematicObject.Move();
     AssignFixedLocation();
 }