Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Scriptable Camera Prevents Movement of Character?

Asked by 10 years ago

I am working on creating a game that involves having a fixed camera. The only problem that I've encountered so far is the fact that the character cannot move when the camera is set to Scriptable. Is there any simple way to allow the character to move again?

wait(1)
cam = Workspace.CurrentCamera
cam.CameraType = "Scriptable"
cam:Interpolate(CFrame.new(-67.2, 80, -133.2), CFrame.new(-67.2, 1.5, -133.2), 0.01)
0
Changing the CameraType does not affect the binding of the controls to the character's movement. You must be tampering with that system elsewhere; the script that you have posted is not responsible for the side-effect that you describe. duckwit 1404 — 10y

1 answer

Log in to vote
0
Answered by
Savoron 15
10 years ago

Setting a camera type doesn't effect the players movement. I don't see how you manage to stop the player from moving when setting the camera type to "Scriptable" that's never happened to me. Are you messing around with the players movement anywhere else in your game that could be causing this problem?

1
No, I tried removing every other script and the player still cannot move. It can only jump. FearMeIAmLag 1161 — 10y
Ad

Answer this question