kingmatt2
|
  |
| Joined: 20 Aug 2011 |
| Total Posts: 6494 |
|
|
| 19 Aug 2013 09:51 AM |
I have this, and it changes the camera subject, but I want it to still affect where the player is looking if you zoom in, and I need it so you can zoom in and out.
game.Workspace.Camera.CameraSubject = script.Parent.Sight a=true else game.Workspace.Camera.CameraSubject = script.Parent.Parent.Head
You can test it yourself to see what my prob is its EXTREMLY Hard to explain. |
|
|
| Report Abuse |
|
|
|
| 19 Aug 2013 10:20 AM |
Instead of head, game.Workspace.Camera.CameraSubject = script.Parent.Parent.Humanoid |
|
|
| Report Abuse |
|
|
kingmatt2
|
  |
| Joined: 20 Aug 2011 |
| Total Posts: 6494 |
|
|
| 19 Aug 2013 10:31 AM |
| Thank you. But now I need a script that still lets you move your player, but makes the camera not move up,down or sideways. |
|
|
| Report Abuse |
|
|
|
| 19 Aug 2013 10:33 AM |
The camera always follows the subject if the mode is set to do so. Change the mode or change the cam type to Scriptable and do math.
while obamacare() do benefitMiddleClass() end --LuaWeaver |
|
|
| Report Abuse |
|
|
kingmatt2
|
  |
| Joined: 20 Aug 2011 |
| Total Posts: 6494 |
|
|
| 19 Aug 2013 10:34 AM |
... I know I need to change the camera type, but is there one that doesent let you move your mouse? |
|
|
| Report Abuse |
|
|
|
| 19 Aug 2013 10:36 AM |
"doesn't let you move your mouse?"
Um, no, and that's not what you've been asking for.
>makes the camera not move up,down or sideways. ^ nothing in there about the mouse
while obamacare() do benefitMiddleClass() end --LuaWeaver |
|
|
| Report Abuse |
|
|
kingmatt2
|
  |
| Joined: 20 Aug 2011 |
| Total Posts: 6494 |
|
|
| 19 Aug 2013 10:39 AM |
| .. Im triyng to make gun sights, and I need it to point forward. I have the camera focus I want, but how do I keep it there without the person moveing it. |
|
|
| Report Abuse |
|
|
|
| 19 Aug 2013 10:49 AM |
| Do first person. Or look under 'mouse' in the wiki. There must be a way to lock it. |
|
|
| Report Abuse |
|
|