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.
More in LSL
string llJsonGetValue(string json, list specifiers)
void llMakeExplosion(integer particles, float scale, float vel, float lifetime, float arc, string texture, vector offset)
integer llGetParcelMaxPrims(vector pos, integer sim_wide)
void llSetLinkTexture(integer linknumber, string texture, integer face)
integer llGetListEntryType(list src, integer index)
void llCollisionSound(string impact_sound, float impact_volume)
void llSetAlpha(float alpha, integer face)
float llAngleBetween(rotation a, rotation b)