AnastaDhara
Member
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!
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!