This feature is also kinda recreate to Tradeland’s vehicle perspective system when pressing F the whole ship can be viewed center of your screen so how to do that?
How to make camera focused on vehicle model rather than yourself when driving a vehicle?
You do some camera manipulation here are some articles to get started with.
It’s pretty complex for newer scripters since it involves CFrame manipulation to control the orientation and position of the camera.
This Roblox article on CFrame has helped me greatly with great example images and code to experiment with:
Here is an example of a camera script I found on the dev forums albeit buggy. As seen the camera is typically controlled by setting the CFrames of the camera (orientation and position) every render step relative to the vehicle.