Does AddForce use Time.deltaTime or TIme.fixedDeltaTime or it depends on whether it is being used in Update() or fixedUpdate()?

Rules to use Rigidbody.AddForce:

  • Always from FixedUpdate.
  • Never multiply the force value by Time.deltaTime or fixedDeltaTime

A force is a time-independent magnitude. It’s integrated along time internally by the physics engine to update the pose of the Rigidbody. Using the above rules guarantees your simulation to behave the same independently of the physics update rate (fixedDeltaTime) or the visual frame rate (deltaTime).

what if im using Rigidbody.AddForce in a function, and call it when certain key is pressed, does it act the same as FixedUpdate?