rotation of the object

I do the object rotation by a certain degree with the help of this code

detail1.localRotation = Quaternion.RotateTowards(detail1.localRotation, Quaternion.Euler(new Vector3(-30, 0, 0)), 10f * Time.deltaTime);

How can I now move an object with the help of physics to look like this code, I can not find the right one, have any ideas what to look for?

Add a rigidbody to this gameObjec and reference that rigidbody in your script.
Then use the rigidbody.MovePosition() function or the AddForce() function in the FixedUpdate()