A simple scripting query. I seem to be having trouble determining the angles of some collisions.
I have a character (capsule collider), and I want to know the angle between the surface's normal and my character's orientation. I also want to know what point on the character's collider said surface is touching.
This is basically so I can determine whether the character has any ground to walk on, and if he's colliding with a wall. Unless, of course, anyone has a better suggestion for determining those ideas.