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

Set camera to an object???

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

Use Camera.CameraSubject ex.

local Camera = game.Workspace.CurrentCamera
Camera.CameraSubject = Workspace.Part

2 comments

0

No, I don't wont the player to be able to control the camera, and I want it to be zoomed in.

0

Then change the CameraType. This is the only way to do what you asked. THIS is the answer to your question.

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