- Home /
What is a RaycastHit normal?
Hi can somebody briefly explain the meaning of RaycastHit.normal and in what situation would i use it on? thanks
Answer by tyjkenn · Jun 20, 2013 at 06:59 PM
The normal is the direction pointing away from the collider it hits.
It is normalized, meaning it has a magnitude of one, and its direction makes right angles with the surface.
It can be use to calculate reflections, place objects on top of other objects, object avoidance, refraction, rotating an object to wrap around another object, and many more things your creative mind can think of.
Your answer
Follow this Question
Related Questions
RaycastHit.normal and Orientation to a Path 1 Answer
Resetting RaycastHit normals in code? 1 Answer
RaycastHit.normal problem 0 Answers
default cylinder to indicate hit.normal 1 Answer
RaycastHit normal only pitch+yaw 2 Answers