Assembly: Sandbox.Game.dll

public struct HitInfo: IHitInfo

Fields

Member Description
HkHitInfo
Position

Properties

Member Description
Fraction How much of the ray cast distance was traveled before hitting something. Use this value to multiply your initial distance to get the distance to hit position in a cheaper way.

Inherited from IHitInfo
HitEntity The entity that was hit.

Inherited from IHitInfo
Normal The direction vector of the hit surface.

Inherited from IHitInfo
Position The position where the raycast hit.

Inherited from IHitInfo

Constructors

Member Description
HitInfo(HkHitInfo, Vector3D)

Methods

Member Description
ToString()

Implements: