Struct Physics.RaycastHit
- Namespace
- AO
- Assembly
- CoreAssembly.dll
Raycast hit information.
public struct Physics.RaycastHit
- Inherited Members
- Extension Methods
Fields
Collider
The collider that was hit.
public Collider Collider
Field Value
fraction
Percentage of how far along the ray the hit happened.
public float fraction
Field Value
normal
The normal of the surface the ray hit.
public Vector2 normal
Field Value
point
The point in world space where the ray hit the collider.
public Vector2 point