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

Set camera to an object???

Asked by 10 years ago

I'm making a vehicle and I want the camera to be attached to the inside of the car, but I don't know any camera properties that allows me to do this, I've tried to make a loop that sets the coords to the car but it is just glitchy. I don't want to have to set my camera to Lockfirstperson and put my character in the car. I want to be able to weld the camera to a brick, if there is anyway to do something like that please do tell. Does anyone know someone that is good with camera manipulation that can help me??

1 answer

Log in to vote
4
Answered by 10 years ago

Use Camera.CameraSubject ex.

local Camera = game.Workspace.CurrentCamera
Camera.CameraSubject = Workspace.Part
0
No, I don't wont the player to be able to control the camera, and I want it to be zoomed in. PixelAspect 0 — 10y
0
Then change the CameraType. This is the only way to do what you asked. THIS is the answer to your question. iaz3 190 — 10y
Ad

Answer this question