RayCastData
Constants in the RayCastData flag set. These are flags and can be combined with bitwise OR.
integer RC_GET_LINK_NUM = 0x0004; // Flag used with llCastRay causing the results stride to include the specific link number that was hit.integer RC_GET_NORMAL = 0x0001; // Flag used with llCastRay causing the results stride to include the surface normal vector of the impact point.integer RC_GET_ROOT_KEY = 0x0002; // Flag used with llCastRay that returns the key of the hit object's root prim instead of the hit child prim.
Constants
| Constant | Type | Value | Description |
|---|---|---|---|
RC_GET_LINK_NUM | integer | 4 | Flag used with llCastRay causing the results stride to include the specific link number that was hit. |
RC_GET_NORMAL | integer | 1 | Flag used with llCastRay causing the results stride to include the surface normal vector of the impact point. |
RC_GET_ROOT_KEY | integer | 2 | Flag used with llCastRay that returns the key of the hit object's root prim instead of the hit child prim. |