Fields

request_id:Int

  • Id supplied when the ray cast was requested.

position:Vector3

  • The world position of the hit.

normal:Vector3

  • The normal of the surface of the collision object where it was hit.

id:Hash

  • The instance id of the hit collision object.

group:Hash

  • The collision group of the hit collision object as a hashed name.

fraction:Float

  • The fraction of the hit measured along the ray, where 0 is the start of the ray and 1 is the end.