Table of Contents

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

Collider

fraction

Percentage of how far along the ray the hit happened.

public float fraction

Field Value

float

normal

The normal of the surface the ray hit.

public Vector2 normal

Field Value

Vector2

point

The point in world space where the ray hit the collider.

public Vector2 point

Field Value

Vector2