Queries the entity which the ray hits and the entity's position and distance.
The entity that is hit by the ray. Returns YaEntity.Empty if there is none.
The position of the point where the ray hits
The normal line to the surface which the ray hits
The distance between the ray's origin and the hit position
ReturnsIs Static ObjectReturn false if the object is a static collision which does not contain entity. Return true if the object is entity.