Collision Normal

Hey guys,

Is there anyway to return the normal angle of a collision?

I've done some searching but really struggling to find a solution.

Thanks in advance!

-Jack

edit

Sorry the purpose is to rotate the other object away from the collision ;)

with a Collision object use the collision.contacts[0].normal if there are more contact points you could use them, but usually the first one is the one you need

example

void OnCollisionEnter(Collision collisionInfo)
{
   Vector3 myCollisionNormal = collisionInfo.contacts[0].normal;
}