|
Attempting to have my player slide down steep slopes ( >45º), and I know how to code into my character controller the sliding movement, but I can't figure out is how to detect when the player is actually standing on a slope… It's not a rotated platform, so I can't get the rotational value, it's just a basic mesh with a slope. Any of you guys know the answer?
(comments are locked)
|
|
Okay I figured out that I need to grab the normal. http://unity3d.com/support/documentation/ScriptReference/ControllerColliderHit-normal.html
(comments are locked)
|
