Skip to content
lsl.devlsl.devLSL Dev

Constants in the RayCastData flag set. These are flags and can be combined with bitwise OR.

All constant groups

At a glance, from the LSL definitions
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

ConstantTypeValueDescription
RC_GET_LINK_NUMinteger4Flag used with llCastRay causing the results stride to include the specific link number that was hit.
RC_GET_NORMALinteger1Flag used with llCastRay causing the results stride to include the surface normal vector of the impact point.
RC_GET_ROOT_KEYinteger2Flag used with llCastRay that returns the key of the hit object's root prim instead of the hit child prim.