generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Camera

Previous Thread :: Next Thread 
jasondee1 is not online. jasondee1
Joined: 26 Jul 2008
Total Posts: 8002
03 Aug 2013 05:21 PM
I just need to know how to get the camera position and the focus position when your in studio mode (not test mode)

I saw it somewhere and it said to put in a command in the command line and you will get the studios camera position but I forgot it.....


thanks!
Report Abuse
mylifeis2cooldlol is not online. mylifeis2cooldlol
Joined: 08 Mar 2011
Total Posts: 874
03 Aug 2013 05:24 PM
"CoordinateFrame

CoordinateFrame is the CFrame position of the camera. If you have trouble remembering that it's CFrame not Vector3, remember that CFrame means CoordinateFrame. Example

cam.CoordinateFrame=CFrame.new(10,10,10)

This will make the camera go to 10,10,10


"
Quoted from roblox's wiki
http://wiki.roblox.com/index.php/Camera_manipulation
Report Abuse
wafles26122 is not online. wafles26122
Joined: 14 Jun 2010
Total Posts: 958
03 Aug 2013 05:25 PM
I think in studio you can just use:
print(Workspace.Camera.CoordinateFrame)
print(Workspace.Camera.Focus)

Anywhere else though you would need to use a local script and use
print(Workspace.CurrentCamera.CoordinateFrame)
print(Workspace.CurrentCamera.Focus)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image