generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Can't move character after interpolating?

Previous Thread :: Next Thread 
Keltrin is not online. 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 is not online. Keltrin
Joined: 01 Jan 2014
Total Posts: 2085
17 Jul 2015 02:55 PM
Bump
Report Abuse
Keltrin is not online. Keltrin
Joined: 01 Jan 2014
Total Posts: 2085
17 Jul 2015 02:59 PM
Bump[2]
Report Abuse
Keltrin is not online. Keltrin
Joined: 01 Jan 2014
Total Posts: 2085
17 Jul 2015 03:20 PM
Seriously? NO assistance?
Report Abuse
lordrambo is not online. 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 is not online. Keltrin
Joined: 01 Jan 2014
Total Posts: 2085
17 Jul 2015 03:26 PM
But I can't move at all.
Report Abuse
Keltrin is not online. 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 is not online. Keltrin
Joined: 01 Jan 2014
Total Posts: 2085
17 Jul 2015 03:36 PM
Bump[3]
Report Abuse
Keltrin is not online. Keltrin
Joined: 01 Jan 2014
Total Posts: 2085
17 Jul 2015 03:41 PM
Bump[4]
Report Abuse
Keltrin is not online. Keltrin
Joined: 01 Jan 2014
Total Posts: 2085
17 Jul 2015 03:47 PM
Bump[5]
Report Abuse
Keltrin is not online. Keltrin
Joined: 01 Jan 2014
Total Posts: 2085
17 Jul 2015 04:04 PM
Bump[6]
Report Abuse
Keltrin is not online. Keltrin
Joined: 01 Jan 2014
Total Posts: 2085
17 Jul 2015 04:25 PM
Bump[7]
Report Abuse
ScripterMaxI is not online. ScripterMaxI
Joined: 22 Dec 2010
Total Posts: 198
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 is not online. 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 is not online. Keltrin
Joined: 01 Jan 2014
Total Posts: 2085
17 Jul 2015 06:26 PM
Bump[8]
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image