I've been trying to figure out a way to deal damage to the player if they are sliding down a steep cliff. Because the cliff is still part of my terrain, the player is still considered grounded when sliding, which has caused a few problems for me. I've decided it might be best just to set the sliding speed higher than my max character controller speed (or downward gravity speed for that matter), then deal damage once the character speed reaches it.
To boil it down for you, all I need to figure out is a way to detect my character controller's current speed! I can't use the getSpeed action, since it requires a rigidbody, and my controller doesn't have one. I've poked around the character controller and motor, but couldn't figure out a way to get the actual speed in real time. I'm guessing there's a simple way to do this that I'm just overlooking?