public void AddForce(Vector3 force) { ForceMode mode = ForceMode.Force; Rigidbody.INTERNAL_CALL_AddForce(this, ref force, mode); }
/// <summary> /// <para>Adds a force to the rigidbody.</para> /// </summary> /// <param name="force">Force vector in world coordinates.</param> /// <param name="mode"></param> public void AddForce(Vector3 force, [DefaultValue("ForceMode.Force")] ForceMode mode) { Rigidbody.INTERNAL_CALL_AddForce(this, ref force, mode); }