calculate reflection vector

Hello everyone, I wanted to write a function to calculate the reflection of a vector. I know the formula is:
w = 2 * (v . n) * n - v;

v is the vector of the object that collides while ‘no’ is the normal of the plane in the base where the object collides. How can I get ‘n’ in unity?

fyi:

1 Like