I want to be able to shoot a raycast from an objects transform (helicopter_gun) to a specific location.
That specific location is set by the user.
So, heres how it works:
The users clicks anywhere in the scene (using raycast from camera), that position of that click is then sent to the helicopter gun, and then that starts raycasting from itself, to that clicked position.
How would that be done?
So to save location of clicked area in scene, I'm thinking something like:
This is just a rough outline - but if you could give me some idea - then that would be great.
I was also thinking that maybe - where the user clicks, a GameEmpty is initiated, and then the helicopter raycast could then use that as a 'track'
asked Apr 04 '11 at 09:58 PM