|
| 05 Nov 2011 03:16 PM |
The question is, how does one determine the position of the player's camera? Thank you for your time.
Sincerely, Noobertuber |
|
|
| Report Abuse |
|
|
|
| 05 Nov 2011 03:17 PM |
With a LocalScript in the player's PlayerGui or Character,
workspace.CurrentCamera |
|
|
| Report Abuse |
|
|
| |
|
Ganondude
|
  |
| Joined: 22 Jun 2007 |
| Total Posts: 1175 |
|
|
| 05 Nov 2011 03:25 PM |
Keep in mind that the camera object doesn't have a Position property, you'll have to use it's CFrame.
-- local cameraPos = camera.CoordinateFrame.p -- |
|
|
| Report Abuse |
|
|
lucas301
|
  |
| Joined: 28 Dec 2008 |
| Total Posts: 1307 |
|
|
| 05 Nov 2011 03:29 PM |
| Type in RBX.lua.Camera its useful! |
|
|
| Report Abuse |
|
|
lucas301
|
  |
| Joined: 28 Dec 2008 |
| Total Posts: 1307 |
|
| |
|
|
| 05 Nov 2011 03:33 PM |
Thank you for your quick and accurate reply. It seems to have worked.
Sincerely, Noobertuber |
|
|
| Report Abuse |
|
|
|
| 05 Nov 2011 03:48 PM |
Workspace.CurrentCamera.CoordinateFrame=CFrame.new(0,0,0)
-- +1 post ?Problem? ^^ -- |
|
|
| Report Abuse |
|
|