Skip to content
lsl.devlsl.devLSL Dev

Constants in the RayCastError enum.

All constant groups

At a glance, from the LSL definitions
integer RCERR_CAST_TIME_EXCEEDED = -3;  // Raycast error indicating the parcel or agent exceeded the maximum allocated raycast time.integer RCERR_SIM_PERF_LOW = -2;  // Raycast error indicating the request failed due to low simulator performance.integer RCERR_UNKNOWN = -1;  // Raycast error indicating an unspecified failure.

Constants

ConstantTypeValueDescription
RCERR_CAST_TIME_EXCEEDEDinteger-3Raycast error indicating the parcel or agent exceeded the maximum allocated raycast time. Waiting a few frames and retrying will usually succeed as resources replenish.
RCERR_SIM_PERF_LOWinteger-2Raycast error indicating the request failed due to low simulator performance. Wait before retrying, and if possible, reduce scene complexity.
RCERR_UNKNOWNinteger-1Raycast error indicating an unspecified failure.