Invisicam Not working with isometric view

I am looking to make an RPG in roblox, right now I´m trying to use an isometric view.

The problem is that the isometric view doesn’t collide with the objects making for the player hard to find themself in the map.

I have tried turning on Invisicam in the player setting, it works perfectly with the normal camera but it doesn’t really work with the isometric view.

Isometric view working fine with no objects
Captura de pantalla 2024-05-01 102537

Invisicam being activated

local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")

local FOV = 10
local HeightOffset = 100 
local XOffset = 50
local ZOffset = 50
local RotationSpeed = 45
local Distance = 150
-- // Code
local Player = game.Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local HumanoidRootPart = Character:WaitForChild("HumanoidRootPart")
local Camera = game.Workspace.CurrentCamera

Camera.FieldOfView = FOV
if Camera.CameraType ~= Enum.CameraType.Scriptable then Camera.CameraType = Enum.CameraType.Scriptable end

local angleY = 45

local tecla = Enum.KeyCode.T
local tecla2 = Enum.KeyCode.R
local function onKeyPress(input)
	if input.KeyCode == tecla then
		print("Funcion")
		angleY = angleY + (-1 * RotationSpeed)
	elseif input.KeyCode == tecla2 then
		angleY = angleY + (1 * RotationSpeed)
	end
end


game:GetService("UserInputService").InputBegan:Connect(onKeyPress)


RunService.RenderStepped:Connect(function()
	local X_Distance = (Distance + XOffset) * math.cos(math.rad(angleY))
	local Z_Distance = (Distance + ZOffset) * math.sin(math.rad(angleY))

	local Vector = Vector3.new(
		HumanoidRootPart.Position.X + X_Distance,
		HumanoidRootPart.Position.Y + HeightOffset,
		HumanoidRootPart.Position.Z + Z_Distance
	)

	if Character then
		TweenService:Create(Camera, TweenInfo.new(0.2, Enum.EasingStyle.Linear), {CFrame = CFrame.new(Vector, HumanoidRootPart.Position)}):Play()
	end
end)

This is the script I am using for the isometric view maybe here is the problem. I have tried changing it but it doesn’t work

I have this exact same issue right now. Have you fixed it?

Never mind I fixed the issue. I changed the camera type to “Enum.CameraType.Fixed” and it some how for some reason worked