Add RC_REJECT_OWNER, RC_REJECT_SELF, RC_REJECT_SELF_LINKSET to llCastRay.
Jasdac Stockholm
Since you added REZ_FLAG_NO_COLLIDE_OWNER and REZ_FLAG_NO_COLLIDE_FAMILY to llRezObjectWithParams, is there any chance we could have something similar for raycasts?
Rays are still affected by the sim FPS, which means if you want to do a raycast from let's say a gun, then just starting it outside of the avatar's (or raycasting prim's) bounding box isn't reliable in not "colliding" with the owner. Plus this would be very handy for things like vehicles using keyframed motion.
- RC_REJECT_OWNER : Ignore owner agent in raycast.
- RC_REJECT_SELF: Ignore the prim the script casting the ray is in.
- RC_REJECT_SELF_LINKSET: Ignore the linkset of the prim casting the ray.
Log In