okey so i found a random script for raycasting
it keeps saying unknown identifier "localoffset" so like what should it be?
asked Sep 08 '11 at 05:13 AM
Assuming you want the origin of the ray to be the game object this script is attached to, then it should just be a matter of replacing localOffset with transform.position (twice)
answered Sep 08 '11 at 05:24 AM