|
| 03 Oct 2016 09:56 PM |
So i have the game first person locked, and im wondering how i could get them o look a specific direction. Would i have to mess around with the torsos CFrame or something?
~Bubba~ |
|
|
| Report Abuse |
|
|
OldGoldie
|
  |
| Joined: 17 Aug 2010 |
| Total Posts: 8210 |
|
|
| 03 Oct 2016 10:00 PM |
You used to be able to use :Focus() but now I think you have to do something else, I'm not too sure off the top of my head, but I'm pretty sure it has to do with CurrentCamera.CFrame and Focus, maybe this will work
CurrentCamera.CFrame = CFrame.new(workspace.Part.Position,CurrentCamera.Focus) I highly doubt it but I believe its something like this
|
|
|
| Report Abuse |
|
|
Azodon123
|
  |
| Joined: 05 Apr 2012 |
| Total Posts: 140 |
|
|
| 03 Oct 2016 10:05 PM |
something like that,
local camera = workspace.CurrentCamera camera.CameraType = Enum.CameraType.Scriptable camera.CameraSubject = target
camera.CoordinateFrame = CFrame.new(target) |
|
|
| Report Abuse |
|
|
|
| 03 Oct 2016 10:21 PM |
Well i dont want it to really MOVE the camera, just change its direction
~Bubba~ |
|
|
| Report Abuse |
|
|
|
| 03 Oct 2016 10:41 PM |
| If you didn't code the camera it's probably easiest to turn the torso with a bodymover so it's fluid. |
|
|
| Report Abuse |
|
|