When camera moves it looks the opposite way

  1. What do you want to achieve?
    I want to have the camera successfully move to the next tool available.

  2. What is the issue?
    For some odd reason it looks behind the camera when moving.

What it should look like:


What it looks like now:

  1. What solutions have you tried so far?
    I looked all over dev forum searching for solutions but nothing found or was helpful.

One of the scripts that change view (If you need the full script to find the problem please ask)

local camTween = ts:Create(
			workspace.CurrentCamera,
			TweenInfo.new(.8, Enum.EasingStyle.Linear, Enum.EasingDirection.Out),
			{
				CFrame = workspace.ItemHolder["Showcase"..boxToMoveTo].CamPart.CFrame,
				Focus = workspace.ItemHolder["Showcase"..boxToMoveTo].Hitbox.CFrame
			}
		)
		camTween:Play()	

Rotate the camera part 180 degrees and see if that solves the problem.

1 Like

Ah something so simple. I already thought of doing that but I didn’t think it would work.

1 Like

camera.CFrame * CFrame.Angles(math.rad(180), 0, 0)

I’m assuming this is all you need. You may want to however perform the same camera effect along each axis, in which case you will need.

camera.CFrame * CFrame.Angles(math.rad(180), math.rad(180), math.rad(180))

1 Like