public void AddRelativeForce(Vector3 force) { ForceMode mode = ForceMode.Force; Rigidbody.INTERNAL_CALL_AddRelativeForce(this, ref force, mode); }
/// <summary> /// <para>Adds a force to the rigidbody relative to its coordinate system.</para> /// </summary> /// <param name="force">Force vector in local coordinates.</param> /// <param name="mode"></param> public void AddRelativeForce(Vector3 force, [DefaultValue("ForceMode.Force")] ForceMode mode) { Rigidbody.INTERNAL_CALL_AddRelativeForce(this, ref force, mode); }