So I'm trying to fix an old game from around 10 years ago. In the game, there is a button that activates follow camera, so the camera can go through the vehicle you're sitting in, and it follows the vehicle.
But some Roblox update completely broke that, so now it can't go through the vehicle, and it doesn't even follow the vehicle anymore. I tried searching for fixes to the problem, but the only one I could find involved changing the transparency of the vehicle, which I do not want to do. Is there any way to make the camera act like the old follow camera by just changing code and/or properties?
Here is the very short code that does the actual camera changing.
workspace.CurrentCamera.CameraSubject = vehicle
workspace.CurrentCamera.CameraType = 4
"vehicle" is the vehicle model.
