AIonsoF1
|
  |
| Joined: 31 Aug 2014 |
| Total Posts: 18 |
|
|
| 22 Dec 2014 01:32 PM |
Hi. I want to make a car that has a locked first-person view only while the driver is in the seat. Can anyone help me? |
|
|
| Report Abuse |
|
|
AIonsoF1
|
  |
| Joined: 31 Aug 2014 |
| Total Posts: 18 |
|
| |
|
|
| 22 Dec 2014 02:04 PM |
| Make it so when the driver touches the seat, they are locked in first person. |
|
|
| Report Abuse |
|
|
| |
|
|
| 22 Dec 2014 02:41 PM |
| I havent checked, but people say that in VehicleSeats u cant be in First Person View, so i am right, then just change the Camera to ur Characters Head |
|
|
| Report Abuse |
|
|
|
| 22 Dec 2014 02:44 PM |
No, you are incorrect. You can be in first person view in a car seat. Also, the camera in ALREADY inside your head. That's why when you zoom in you see from your head position, not your legs or your torso. As i said, just make a event so when you touch the car seat, or sit on it, you become first person mode. I won't completely give you the script, but here's a hint.
game.Player.PLAYER NAME HERE.CamerMode = "LockFirstPerson" |
|
|
| Report Abuse |
|
|
|
| 22 Dec 2014 02:54 PM |
| winged, the last time I checked the Subject was 'Humanoid' not 'Head' :/ |
|
|
| Report Abuse |
|
|
|
| 22 Dec 2014 02:57 PM |
| Yeah, you need to script the camera with a function and probably use an onTouched function too to call your camera function |
|
|
| Report Abuse |
|
|
|
| 22 Dec 2014 08:05 PM |
| You don't have to do all that useless stuff. OnTouch is all you need. |
|
|
| Report Abuse |
|
|