Rigidbody.AddRelativeTorque (Vector3.back * rotation);

Iam not able to complete this code . It is showing an error like An instance of type ‘UnityEngine.Rigidbody’ is required to access non static member ‘AddRelativeTorque’ . (BCE0020) . please help me how to complete that code

I had the same problem but managed to fix it.

Firstly Delete The Code.

Then You Can Copy And Paste This In To Fix The Problem:

UnityEngine.Rigidbody AddRelativeTorque (Vector3.back * rotation);
}

Hope This Helped!