AntiFiter
|
  |
| Joined: 14 May 2009 |
| Total Posts: 12290 |
|
|
| 11 Mar 2015 06:37 PM |
| I'm working on a gun, and since the gun is out in front of the guy I want to move the camera forward 1-2. I don't think the camera has a property, but is Field Of View the way to do this? |
|
|
| Report Abuse |
|
|
AntiFiter
|
  |
| Joined: 14 May 2009 |
| Total Posts: 12290 |
|
|
| 11 Mar 2015 06:57 PM |
| Kind of a similar thing to CameraSubject. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 11 Mar 2015 06:58 PM |
| camera.CoordinateFrame = camera.CoordinateFrame * CFrame.new(0, 0, -2) |
|
|
| Report Abuse |
|
|
AntiFiter
|
  |
| Joined: 14 May 2009 |
| Total Posts: 12290 |
|
|
| 11 Mar 2015 07:18 PM |
@cnt
That doesn't move it forward. It just turns the camera the opposite direction. |
|
|
| Report Abuse |
|
|
|
| 11 Mar 2015 07:54 PM |
| Use a Scriptable camera type. |
|
|
| Report Abuse |
|
|
AntiFiter
|
  |
| Joined: 14 May 2009 |
| Total Posts: 12290 |
|
|
| 11 Mar 2015 08:07 PM |
If I set it to scriptable and do just that line it'll lock the camera in a spot.
|
|
|
| Report Abuse |
|
|
|
| 11 Mar 2015 08:55 PM |
n a local script in Players StarterPack put this:
local camera = workspace.CurrentCamera local subject = camera.CameraSubject -- save local type = camera.CameraType --save
local core = Instance.new("Part", Workspace)-- CHANGE THIS TO THE TIP OF pLAYERS gUN --core.CFrame = CFrame.new(Vector3.new(0,0,0)) --core.Anchored = true camera.CameraSubject = core --game.Workspace.Core camera.CameraType = "Watch" -- yOU MAY NOT HAVE TO CHANGE tYPE camera.FieldOfView = 55
|
|
|
| Report Abuse |
|
|