I need a way to initiate a raycast from the camera when the player uses the mouse. Kind of like a laser, only once per click. I was trying to get together a method using rigidbodies, but the collision was faulty, and it was too slow.
asked Feb 23 '11 at 01:15 AM
Code there sounds like what you need
answered Feb 23 '11 at 02:40 AM