Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Scriptable Camera Prevents Movement of Character?

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)

1 comment

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.

1 answer

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 comment

1

No, I tried removing every other script and the player still cannot move. It can only jump.

This discussion is preserved as it was. New answers, comments, and votes are closed.