|
| 27 Feb 2016 12:11 PM |
I'm working on my first game. In the game, I want to tie key presses to certain in-game actions when the operator is in a vehicle. I've watched the tutorials and understand that in order to read the keyboard inputs I need to use a LocalScript. That I have working ok.
The problem: I want to detect when the operator gets in a vehicle as I need to tie the key presses to moving parts on THAT vehicle. Suggestions on how to do this? I was going to do a "player.Touched" approach, and see what the player touched, but have discovered that Touch is not a member of Player.
Suggestions?
Thanks.
- EngineerTim. |
|
|
| Report Abuse |
|
|
| 27 Feb 2016 11:33 PM |
I figured out how to detect the presence of the player in the vehicle seat, but only from the server side. I've posted a new, revised question related to this. Hopefully someone can help. I'm stumped.
|
|
|
| Report Abuse |
|