How can I edit the Charactermotor to slide on tagged objects rather than being over the slope limit.


In the charactermotor script I have noticed that sliding only occurs if the character is over the slope limit. I have found the function for that on line 553 - 555,

function TooSteep () {
	return (groundNormal.y <= Mathf.Cos(controller.slopeLimit * Mathf.Deg2Rad));

How can I change that in order to make it slide on tagged objects instead?

Any help is appreciated.
Thank you for your help.

I have fixed this issue by editing couple of lines, If anyone has this problem contact me so I can hand the script to you.