Assembly: VRage.Game.dll

public interface IHitInfo

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.
HitEntity The entity that was hit.
Normal The direction vector of the hit surface.
Position The position where the raycast hit.

Inheritors: