How To Make Player Crouch?

I’m trying to make a medieval-like RPG game and I’m having trouble making a player crouch code. It is also a first person game.

Hi @BleachDev,

Assuming the camera is parented to your character controller entity:

  • Scale down your character controller entity, doing it with a tween/animation will make your camera smoothly go down/up
  • If you are using physics, if required you will have to reduce the height of your collision component. So your character can go below obstacles etc.

Oh ok, thanks