I’m making a old car game and I gonna do a isometric cam but when I get inside a car, the cam back to normal!
I’m using A-Chassis to make the cars.
I use a little script to do a isometric cam (works outside the cars)
local offset = Vector3.new(-5,30,15)
local fieldOfView = 90
local player = script.Parent.Parent
local camera = game.Workspace.CurrentCamera
local runService = game:GetService("RunService")
camera.FieldOfView = fieldOfView
local function onRenderStep()
local playerPosition = player.Character.HumanoidRootPart.Position
local cameraPosition = playerPosition + offset
camera.CoordinateFrame = CFrame.new(cameraPosition, playerPosition)
end
runService:BindToRenderStep('Camera', Enum.RenderPriority.Camera.Value, onRenderStep)
I accept any suggestions!