Skip to content


A HitResult is used by the World Raycast function to give details about where the collision happened (GetPosition) and what the normal vector of the collision is (GetNormal).


Function Name Usage Description Notes
GetPosition Vector hitResult:GetPosition() Get position of hit in world space
GetRelativePosition Vector hitResult:GetRelativePosition() Get position of hit relative to the Entity hit
GetNormal Vector hitResult:GetNormal() Get normal direction of hit in world space
GetRelativeNormal Vector hitResult:GetRelativeNormal() Get normal direction of the hit relative to the rotation of the Entity hit