Add force on camera using AddForce

Hello Guys

I am trying to add force to my camera transform.

I have added rigidbody to camera and checked is Kinematic .

selectedCamera.rigidbody.AddForce(transform.forward * 10, ForceMode.Impulse);

Camera does not move with the given code

please help

Try to see if your rigidbody sleep:

 if (rigidbody.IsSleeping())

If yes. Try to wake up?


Then add forceā€¦

It works when I removed check box is Kinematic