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 manipulation

Previous Thread :: Next Thread 
PerpetualMovement is not online. PerpetualMovement
Joined: 04 Dec 2012
Total Posts: 1001
24 Jun 2013 11:35 AM
I use this small line of code

c.CameraType = "Scriptable"
c.CoordinateFrame = CFrame.new(868.379456, 4.68539143, -865.438721)
c.Focus = CFrame.new(866.405701, 4.36267424, -865.427979)

It works good but the focus of the Camera is always the same as the CoordinateFrame, when I put this in the command bar

print(game.Camera.Focus)

Is this because I don't have a camera subject?
Report Abuse
PerpetualMovement is not online. PerpetualMovement
Joined: 04 Dec 2012
Total Posts: 1001
24 Jun 2013 11:36 AM
I meant print(Workspace.Camera.Focus)
Report Abuse
MrChubbs is not online. MrChubbs
Joined: 14 Oct 2010
Total Posts: 4969
24 Jun 2013 11:41 AM
workspace.CurrentCamera.Focus
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
24 Jun 2013 11:42 AM
If you're using the Scriptable Camera Type, the 'Focus' property does not work. It is merged with the CoordinateFrame property.
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