|
| 09 May 2015 04:51 PM |
while (true) do game.Workspace.CurrentCamera.CoordinateFrame = CFrame.new(90,00,90) game.Workspace.CurrentCamera.Focus = CFrame.new(90,00,90) wait() end ----------------------------------------------------------------------
The problem I am having is that the angle is wrong and has Orthographic Projection instead of Isometric Project, and the reason why I want a non-moveable camera at Isometric is due to the voxel like style of the game
|
|
|
| Report Abuse |
|
|
|
| 09 May 2015 04:52 PM |
while (true) do game.Workspace.CurrentCamera.CoordinateFrame = CFrame.new(120,00,90) game.Workspace.CurrentCamera.Focus = CFrame.new(120,00,90) wait() end ----------------------------------------------------------------------
well that was a derp... |
|
|
| Report Abuse |
|
|
awotn
|
  |
| Joined: 01 Nov 2014 |
| Total Posts: 226 |
|
|
| 09 May 2015 04:57 PM |
what exactly are you trying to do?
btw you should use renderstepped
and
instead of setting the focus do this
local origin = CFrame.new(120 , 0, 90) local focus = Vector3.new(0, 0, 0)
game:GetService('RunService').RenderStepped:connect(function() game.Workspace.CurrentCamera.CoordinateFrame = CFrame.new(origin.p, focus) end) |
|
|
| Report Abuse |
|
|
|
| 09 May 2015 05:18 PM |
@awotn http://puu.sh/hHvxk/0149bedd54.jpg
I was trying to make a angle like this, and make it unmovable
Also, your script worked! But now I will have to find play with the angles cords and all now and all |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 09 May 2015 05:19 PM |
CFrames take radians.
I script -~ chimmihc |
|
|
| Report Abuse |
|
|