FPS Controller
- Create a playermodel
- Adjust its transform
- Give it a Rigidbody
- Drag the main camera as a child object of the playermodel
- Adjust the camera to its desired position
- Add the PlayerController2.cs script to the playermodel
- Give in some values that suets your project
- Change the rigidbody to get a free look
- Use Gravity = X
- Is Kinematix = ✓
- Now change the rigidbody for the movement
- Use Gravity = ✓
- Is Kinematix = X
- Interpolate = Interpolate
- Contraints = Freeze rotation = X, Y and Z