Interacting with objects (switches, pickups etc) in FPS
I have set down a puppet and changed the camera so that is is essentially an FPS. I've also created an aiming reticule in the middle of the screen (text box). What I'd like to be able to do is when that reticule hovers over something in the scene pressing a button will activate that thing (i.e. when you hover over a light switch and press X it activates the switch)
-
use the laser scope and with the hit detection get the location of the hit, spawn a tag there and use that tag to turn on what you hit, crude way of doing it with emitters but you could try and set it up with detection zones and wireless
-
Thanks for the reply but I'm even more confused now. How do I use the laser scope? Where do I use it? How do I get the location of the hit... I'm completely in the dark here :).
請登入寫評論。