|
| 17 Jul 2017 11:59 PM |
local cam = workspace.CurrentCamera for i = 1,math.huge do wait() cam.CameraType = "Scriptable" cam:Interpolate(workspace.CamPart1.CFrame,workspace.CamPart2.CFrame,.25) if cam.CoordinateFrame == workspace.CamPart1.CFrame then break end end
for i = 1,math.huge do wait() cam.CameraType = "Scriptable" cam:Interpolate(workspace.CamPart2.CFrame,workspace.CamPart2.CFrame,1) end
|
|
|
| Report Abuse |
|
|
Casualist
|
  |
| Joined: 26 Jun 2014 |
| Total Posts: 4443 |
|
|
| 18 Jul 2017 12:06 AM |
cam:Interpolate(workspace.CamPart1.CFrame,workspace.CamPart2.CFrame,.25) cam.InterpolationFinished:wait() cam:Interpolate(workspace.CamPart3.CFrame,workspace.CamPart3.CFrame,1) cam.InterpolationFinished:wait()
http://wiki.roblox.com/index.php?title=API:Class/Camera/InterpolationFinished http://wiki.roblox.com/index.php?title=RBXScriptSignal#wait_2 |
|
|
| Report Abuse |
|
|
| |
|
|
| 18 Jul 2017 12:35 AM |
local cam = workspace.CurrentCamera for i = 1,math.huge do wait() cam.CameraType = Enum.CameraType.Scriptable cam:Interpolate(workspace.CamPart1.CFrame,workspace.CamPart2.CFrame,.5) cam.InterpolationFinished:wait() cam:Interpolate(workspace.CamPart2.CFrame,workspace.CamPart2.CFrame,5) cam.InterpolationFinished:wait() if script ~= nil then break end end
game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid game.Workspace.CurrentCamera.CameraType = "Custom"
not returning to player qq |
|
|
| Report Abuse |
|
|
| |
|
Casualist
|
  |
| Joined: 26 Jun 2014 |
| Total Posts: 4443 |
|
|
| 18 Jul 2017 01:23 AM |
| Oh, you're just trolling then. Carry on |
|
|
| Report Abuse |
|
|
|
| 19 Jul 2017 04:19 PM |
| im not torlling im just not skileld in cameras |
|
|
| Report Abuse |
|
|
|
| 19 Jul 2017 04:23 PM |
no output, doesnt work
local cam = workspace.CurrentCamera
cam.CameraType = Enum.CameraType.Scriptable cam:Interpolate(workspace.CamPart1.CFrame,workspace.CamPart2.CFrame,.75) cam.InterpolationFinished:wait() cam:Interpolate(workspace.CamPart2.CFrame,workspace.CamPart2.CFrame,5) cam.InterpolationFinished:wait() cam:Interpolate(workspace.CamPart3.CFrame,workspace.CamPart3.CFrame,2.5) cam.InterpolationFinished:wait() cam:Interpolate(workspace.CamPart4.CFrame,workspace.CamPart4.CFrame,5) cam.InterpolationFinished:wait()
game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid game.Workspace.CurrentCamera.CameraType = "Custom" |
|
|
| Report Abuse |
|
|