llCastRay
LSLlist llCastRay(vector start, vector end, list options)
Casts a ray into the physics world from 'start' to 'end' and returns data according to details in Options.\ Reports collision data for intersections with objects.\ Return value: [UUID_1, {link_number_1}, hit_position_1, {hit_normal_1}, UUID_2, {link_number_2}, hit_position_2, {hit_normal_2}, ... , status_code] where {} indicates optional data.
Parameters
| Type | Name |
|---|---|
| vector | start |
| vector | end |
| list | options |
Energy
10
The Linden Scripting Library — what every SL-compatible grid provides.