Restrict mouse-look in FP Melee mode

Hi,

I'm using FP melee template with a character model completely hidden using the 'InvisibleShadowCaster' shader. This works fine for me, as the character's model is only used to generate shadows. I don't want the player to see limbs. Unfortunately, the effect looks bad if the player mouse-looks down towards where the feet should be (the shadow just appears from nothing). Is there any way I can restrict the mouse-look range so that, for example, it doesn't permit views below -80 degrees?

Thanks in advance for any help!
 
In the CameraController, select the ViewType you're using and open up the "Limits" section in the inspector - the "Pitch Limit" will control the vertical rotation limit of that ViewType.
 
Top