|
| 23 Mar 2012 03:22 PM |
game.Workspace.CurrentCamera.CoordinateFrame = CFrame.new(Vector3.new(0,0,0))
Did roblox remove this? I tried nearly every way possible and this dosen't work for me. |
|
|
| Report Abuse |
|
|
|
| 23 Mar 2012 03:23 PM |
Is it in a LocalScript? ... I "think" it has to, not sure. :/
† KMXD † |
|
|
| Report Abuse |
|
|
UFAIL2
|
  |
| Joined: 14 Aug 2010 |
| Total Posts: 6905 |
|
|
| 23 Mar 2012 04:43 PM |
| Local Script: game.Workspace.CurrentCamera.CoordinateFrame = CFrame.new(0,0,0) |
|
|
| Report Abuse |
|
|
| |
|
|
| 23 Mar 2012 04:53 PM |
Using a Vector3 in the way you're doing here is just adding another unneeded lookup and function call.
Haters gonn' hate. |
|
|
| Report Abuse |
|
|
|
| 23 Mar 2012 05:01 PM |
What about...
SomeVariable = Vector3.new(0,10,0)
game.Workspace.CurrentCamera.CoordinateFrame = CFrame.new(SomeVariable) |
|
|
| Report Abuse |
|
|
UFAIL2
|
  |
| Joined: 14 Aug 2010 |
| Total Posts: 6905 |
|
|
| 23 Mar 2012 05:14 PM |
CoordinateFrame == CFrame
Use CFrame. |
|
|
| Report Abuse |
|
|
|
| 23 Mar 2012 05:19 PM |
http://wiki.roblox.com/index.php/RBX.lua.Camera_%28Object%29
I don't see a field named "CFrame", just CoordinateFrame and thats how I have to spell it I guess. |
|
|
| Report Abuse |
|
|
UFAIL2
|
  |
| Joined: 14 Aug 2010 |
| Total Posts: 6905 |
|
|
| 23 Mar 2012 05:21 PM |
| To change the value of the property CoordinateFrame, use CFrame.new(). |
|
|
| Report Abuse |
|
|
|
| 23 Mar 2012 05:24 PM |
SomeVariable = Vector3.new(0,10,0)
game.Workspace.CurrentCamera.CoordinateFrame = CFrame.new(SomeVariable)
Do you not see that I did use CFrame.new()?
And I was asking if what I typed here would work in a local script. |
|
|
| Report Abuse |
|
|
|
| 23 Mar 2012 05:30 PM |
CFrame.new(0,0,0)
same thing as CFrame.new(Vector3.new(0,0,0)) |
|
|
| Report Abuse |
|
|
xvgigakid
|
  |
| Joined: 22 Jun 2008 |
| Total Posts: 4407 |
|
|
| 23 Mar 2012 05:48 PM |
@Jelly
camera.Focus is a CoordinateFrame value. Try that. |
|
|
| Report Abuse |
|
|
|
| 23 Mar 2012 06:07 PM |
| I need to set the position of the camera. |
|
|
| Report Abuse |
|
|
|
| 23 Mar 2012 06:08 PM |
| Okay let me try my idea then if it dosen't work i'll let you guys know. |
|
|
| Report Abuse |
|
|