|
| 06 May 2016 06:40 AM |
I have a script that Interpolates everyones camera from the StarterPlayerScripts. It works fine, except for when its done interpolating, the camera does not reattach to the player. Can anyone help out with this?
cam = game.Workspace.CurrentCamera Camera = game.Workspace.CurrentCamera CameraPosition1 = game.Workspace["Cutscene Parts"].Cutscene_1 CameraPosition2 = game.Workspace["Cutscene Parts"].Cutscene_2 CameraPosition15 = game.Workspace["Cutscene Parts"].Cutscene_15 CameraPosition25 = game.Workspace["Cutscene Parts"].Cutscene_25
cam.CameraType = Enum.CameraType.Scriptable
Camera:Interpolate ((CameraPosition1.CFrame), (CameraPosition15.CFrame), 0.03) wait(0.03) Camera:Interpolate ((CameraPosition2.CFrame), (CameraPosition25.CFrame), 8) wait(9) Camera:Destroy() |
|
|
| Report Abuse |
|
| |
|
| 06 May 2016 03:14 PM |
| Change the CameraType back and don't destroy it. |
|
|
| Report Abuse |
|
Salinas23
|
  |
| Joined: 28 Dec 2008 |
| Total Posts: 37142 |
|
|
| 06 May 2016 04:10 PM |
"cam = game.Workspace.CurrentCamera Camera = game.Workspace.CurrentCamera"
if you do "print (cam == Camera)" you will get true
this means your variables are wrong |
|
|
| Report Abuse |
|