Hey, guys I am trying to make a custom characterizer of my own and I am having trouble with the camera revolving around the character. So I was hoping someone could help me out with this problem I am facing right now... Here is my script I tried all sorts of different methods believe me.
local cam = workspace.CurrentCamera
local player = game.Players:GetPlayerFromCharacter(script.Parent)
local char = player.Character
local torso = char:WaitForChild("Torso")
cam.CameraSubject = torso
cam.CameraType = Enum.CameraType.Attach
local i = 0
while wait() do
cam.CFrame = cam.CFrame * CFrame.new((math.rad(i)*(math.pi*2)),0,(math.rad(i)*(math.pi*2)))
print("The math.rad*math.pi*2 number: "..(math.rad(i)*(math.pi*2)))
print("The i: "..i)
i = i + 5
end
I want the camera to basically go around the character when they join the game so that the character can see his character in a 3D vision. So they can make their own character.
Thank you for reading my question and I hope you guys can help me out!
~~ KingLoneCat

2 comments
Well your script somewhat works... However your script makes my camera revolve in really big circles and I tried making r smaller however that decreases the speed of the camera's movement which I don't want I am trying to make a Custom Characterizer. So could you please edit your answer to make it something like that? Because I want it to be able to move fast however revolve in small circles.
I added tweakable speed variable. And for camera distance you tweak the r.