How to know what player the camera is facing?
#1

(not much time to explain)

OK, I am making an artificial gun, one that is mounted in a window like in, "brother at arms," the iPad game.

Here is a topic with a lot of info, (click me).

I tried a lot of it, modified a lot of it, failed most of it, got real close, failed again...

Here is what I am trying to get...
- Only the closest player is shot, only player in exact center of camera vision, so a radius of about 1.5.
- Don't want to be able to shoot through walls, but I understand that this is hard to do since you can't detect line of sight.
- All of this in a function that returns only the target players ID.

Maybe this should be in the requests section, not sure, I am asking for help, I told you what I did wrong. I've been typing this for like 20 minutes now, on phone!

Thanks!
Reply


Messages In This Thread
How to know what player the camera is facing? - by Crayder - 08.10.2014, 21:12
Re: How to know what player the camera is facing? - by Rudy_ - 09.10.2014, 08:37
Re: How to know what player the camera is facing? - by Crayder - 09.10.2014, 11:28
Re: How to know what player the camera is facing? - by Rudy_ - 09.10.2014, 12:06
Re: How to know what player the camera is facing? - by Crayder - 09.10.2014, 22:53

Forum Jump:


Users browsing this thread: 1 Guest(s)