Пример #1
0
 /// <summary>
 /// Adds the given force to the rigidbody
 /// </summary>
 /// <param name="recoilForce"></param>
 public void AddRecoilForce(Vector3 recoilForce, ForceMode mode = ForceMode.Impulse)
 {
     m_recoil.AddForce(recoilForce, mode);
 }