As I am new to scripting, I am having problems in achieving a rotatable(along the Y axis) diablo 3 bird eye view camera.
Here is my forum post for more details: http://forum.roblox.com/Forum/ShowPost.aspx?PostID=209637076
NOTE: I DO NOT WANT A FULL GAME.
Here is the script I managed to piece together(of course its not working :/):
`
local angleOfElevation = 45 local dis = 25 local player = game:GetService("Players").LocalPlayer local HumanoidRootPart = (wait() and player.Character or player.CharacterAdded:wait()):WaitForChild("HumanoidRootPart") local NEWCHANGE = 0+1 local Mouse = Player:GetMouse() game:GetService("RunService").RenderStepped:connect(function() workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable dis*math.si workspace.CurrentCamera.CoordinateFrame = CFrame.new( HumanoidRootPart.Position + Vector3.new(0, dis*math.sin(math.rad(angleOfElevation)), dis*math.cos(math.rad(angleOfElevation))), HumanoidRootPart.Position) end) Mouse.Button1Down:connect(function() workspace.CurrentCamera.CoordinateFrame = CFrame.new( HumanoidRootPart.Position + Vector3.new(NEWCHANGE, dis*math.sin(math.rad(angleOfElevation)), dis*math.cos(math.rad(angleOfElevation))), HumanoidRootPart.Position) end)`