Keltrin
|
  |
| Joined: 01 Jan 2014 |
| Total Posts: 2085 |
|
|
| 17 Jul 2015 02:46 PM |
I have this script in a part:
p = script.Parent pl = game:GetService("Players") rs = game:GetService("ReplicatedStorage")
p.Touched:connect(function(h) if h.Parent then local c = h.Parent local pot = pl:FindFirstChild(c.Name) if pot then local ply = pl:GetPlayerFromCharacter(c) rs.Interpolate:FireClient(ply, p) end end end)
And then I have this localscript in the client:
rs = game:GetService("ReplicatedStorage") event = rs:WaitForChild("Interpolate")
pl = game:GetService("Players") repeat wait() until pl.LocalPlayer p = pl.LocalPlayer cam = workspace.CurrentCamera wait() cam.CameraType = Enum.CameraType.Scriptable
event.OnClientEvent:connect(function(pos) cam:Interpolate(pos.CFrame * CFrame.new(0, 30, 0), pos.CFrame, 1) end)
Everything works... but when the camera interpolates, I can no longer move... |
|
|
| Report Abuse |
|
|
Keltrin
|
  |
| Joined: 01 Jan 2014 |
| Total Posts: 2085 |
|
| |
|
Keltrin
|
  |
| Joined: 01 Jan 2014 |
| Total Posts: 2085 |
|
| |
|
Keltrin
|
  |
| Joined: 01 Jan 2014 |
| Total Posts: 2085 |
|
| |
|
lordrambo
|
  |
| Joined: 16 Jun 2009 |
| Total Posts: 20628 |
|
|
| 17 Jul 2015 03:23 PM |
| You probably can with the WASD keys but it's kind of finicky, or rather, a bit off since the camera isn't relative to the character anymore. |
|
|
| Report Abuse |
|
|
Keltrin
|
  |
| Joined: 01 Jan 2014 |
| Total Posts: 2085 |
|
| |
|
Keltrin
|
  |
| Joined: 01 Jan 2014 |
| Total Posts: 2085 |
|
|
| 17 Jul 2015 03:29 PM |
| Wait, so I can't do anything about it? |
|
|
| Report Abuse |
|
|
Keltrin
|
  |
| Joined: 01 Jan 2014 |
| Total Posts: 2085 |
|
| |
|
Keltrin
|
  |
| Joined: 01 Jan 2014 |
| Total Posts: 2085 |
|
| |
|
Keltrin
|
  |
| Joined: 01 Jan 2014 |
| Total Posts: 2085 |
|
| |
|
Keltrin
|
  |
| Joined: 01 Jan 2014 |
| Total Posts: 2085 |
|
| |
|
Keltrin
|
  |
| Joined: 01 Jan 2014 |
| Total Posts: 2085 |
|
| |
|
|
| 17 Jul 2015 05:03 PM |
| Make sure your character is unanchored, no welds would make your player stuck, or anything similar. |
|
|
| Report Abuse |
|
|
Keltrin
|
  |
| Joined: 01 Jan 2014 |
| Total Posts: 2085 |
|
|
| 17 Jul 2015 05:27 PM |
Forgot to mention, I'm able to move again if I set the CameraType back to custom.
Wtf? |
|
|
| Report Abuse |
|
|
Keltrin
|
  |
| Joined: 01 Jan 2014 |
| Total Posts: 2085 |
|
| |
|