/// <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(); } }
/// <summary> /// Moves the kinematic object. /// </summary> public void FixedMove() { RestoreFixedLocation(); m_KinematicObject.Move(); AssignFixedLocation(); }