RayCastError
Constants in the RayCastError enum.
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
| Constant | Type | Value | Description |
|---|---|---|---|
RCERR_CAST_TIME_EXCEEDED | integer | -3 | Raycast 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_LOW | integer | -2 | Raycast error indicating the request failed due to low simulator performance. Wait before retrying, and if possible, reduce scene complexity. |
RCERR_UNKNOWN | integer | -1 | Raycast error indicating an unspecified failure. |