Manual     Reference     Scripting  
  
Scripting > Runtime Classes > RaycastHit   
  • Menu
  • Overview
  • Runtime Classes
  • Attributes
  • Enumerations
  • Editor Classes
  • Enumerations
  • History
  • Index
  • RaycastHit
  • All Members
  • Variables
  • barycentricCoordinate
  • collider
  • distance
  • lightmapCoord
  • normal
  • point
  • rigidbody
  • textureCoord
  • textureCoord2
  • transform
  • triangleIndex

RaycastHit.normal  

var normal : Vector3

Description

The normal of the surface the ray hit.

See Also: Physics.Raycast, Physics.Linecast, Physics.RaycastAll.