How do I make the FPS player bounce as I control it moving forward and back?

How do I make the FPS player bounce as I control it moving forward and back ?

1 Like

The answer depends on whether you are using a rigidbody or character controller component.

For rigidbody:

  1. Instantiate a plane and a player object
  2. Apply a physics material to the plane and increase it’s bounce value
  3. Add a rigidbody and a collider to your player object.
  4. Let it fall and watch it bounce.

Now if you want it to automatically jump - in order to bounce - just use an impulsive force to make it jump.

For character controller:
If you are using a character controller, you should instead apply gravity manually and modify this to make it bounce, as it does not work with a rigidbody.