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

How can I revert back to the old camera controls?

Asked by
nilVector 812 Moderation Voter
9 years ago

A few weeks ago, ROBLOX made an update to the camera that sort of made the spectating system in my game not work anymore.

Before, when a player's character was nil, he/she was able to press Q/E to move the camera down and up, press W/A/S/D to move the camera around, & hold down right-mouse button to pan the camera. Now, with the update, you can no longer do these.

I have created my own method where when a player dies, a new, invisible Part is created where he/she dies. The camera's CameraSubject is set to be this part. The part moves accordingly when the player presses W/A/S/D or Q/E. However, it is quite choppy, and it doesn't move exactly where the mouse is pointing to - only relatively near it.

My question is this:

Is there a way to bring back the old camera controls? I noticed that there is now a StarterPlayer in Explorer. Inside it, there is a StarterPlayerScripts object, and it contains a local CameraScript. It has many ModuleScripts relating to the camera. I tried playing around with these a little, but I couldn't figure out how to do it. I know it is possible, because I've seen people such as Wingman8 do so perfectly. I'm not asking for full scripts or extremely long blocks of code - just possible methods or algorithms.

1
Going in an irrelevant tangent here, but have you tried using the :Interpolate() method when you created your own method of moving the camera? Redbullusa 1580 — 9y
0
@Redbullusa, dang it... I was going to say use Interpolate. Why is everyone answering everything while I'm asleep! EzraNehemiah_TF2 3552 — 9y

Answer this question