Modules
Raycast
Client

lib.raycast.cam

Starts a shapetest originating from the camera, extending to ~10m.

lib.raycast.cam(flags, ignore, distance)

Return:

  • hit: boolean
  • entityHit: number
  • endCoords: vector3
  • surfaceNormal: vector3
  • materialHash: number