Gamati
|
  |
| Joined: 14 May 2011 |
| Total Posts: 83 |
|
|
| 23 Jul 2014 07:23 PM |
Hi,
I've been trying to lock the camera onto the player so that they can move freely but the camera is constrained to a single line of motion. I've written this:
cam = workspace.CurrentCamera
function camerascene1() print("tracking!") cam.CameraSubject = game.Players.LocalPlayer.Character.Humanoid cam.CameraType = 3 end
However, whenever I call the function, it will print "tracking!" but not change the CameraType to track. What am I missing? Thanks! |
|
|
| Report Abuse |
|
Gamati
|
  |
| Joined: 14 May 2011 |
| Total Posts: 83 |
|
|
| 23 Jul 2014 10:06 PM |
| Anyone have info on this? It's a straightforward function, I don't understand what's going wrong. |
|
|
| Report Abuse |
|
blockoo
|
  |
| Joined: 08 Nov 2007 |
| Total Posts: 17202 |
|
|
| 23 Jul 2014 10:08 PM |
cam.CameraType = "Track"
Try that |
|
|
| Report Abuse |
|