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 help

Previous Thread :: Next Thread 
Zerio920 is not online. Zerio920
Joined: 06 Apr 2012
Total Posts: 3311
12 Jul 2014 09:54 PM
How do I make the player unable to rotate or zoom the camera? I already locked it to a specific brick, but I'm wondering how I would stop rotation and zooming.
Report Abuse
Zerio920 is not online. Zerio920
Joined: 06 Apr 2012
Total Posts: 3311
12 Jul 2014 10:10 PM
Ideas?
Report Abuse
Jetta765214 is not online. Jetta765214
Joined: 22 Oct 2008
Total Posts: 1855
12 Jul 2014 10:44 PM
camera.CameraType = 'Scriptable'

Alt. of Jetta765214
Report Abuse
Zerio920 is not online. Zerio920
Joined: 06 Apr 2012
Total Posts: 3311
12 Jul 2014 10:59 PM
How do I script the camera so right click and zoom are disabled?
Report Abuse
MHebes is not online. MHebes
Joined: 04 Jan 2013
Total Posts: 2278
12 Jul 2014 10:59 PM
camera.CameraType = 'Scriptable'
Report Abuse
Zerio920 is not online. Zerio920
Joined: 06 Apr 2012
Total Posts: 3311
12 Jul 2014 11:03 PM
But what do I write after that is what I mean. How exactly do I use the scriptable camera type?
Report Abuse
MHebes is not online. MHebes
Joined: 04 Jan 2013
Total Posts: 2278
12 Jul 2014 11:13 PM
Check the wiki's page on "Camera Manipulation".
Report Abuse
Zerio920 is not online. Zerio920
Joined: 06 Apr 2012
Total Posts: 3311
12 Jul 2014 11:19 PM
I checked but it's very basic and doesn't seem to answer my questions.
Report Abuse
MHebes is not online. MHebes
Joined: 04 Jan 2013
Total Posts: 2278
12 Jul 2014 11:25 PM
local origin = Vector3.new(50, 50, 0)
local focus = Vector3.new(0, 0, 0)

local camera = Workspace.CurrentCamera
camera.CameraType = "Scriptable"
camera.CoordinateFrame = CFrame.new(origin, focus)
Report Abuse
Zerio920 is not online. Zerio920
Joined: 06 Apr 2012
Total Posts: 3311
12 Jul 2014 11:28 PM
Okay I understand now. Thank you.
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