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 » Scripters
Home Search
 

Re: Dragging Camera

Previous Thread :: Next Thread 
IanVIII is not online. IanVIII
Joined: 03 Apr 2016
Total Posts: 535
02 Jul 2016 09:47 AM
You can move the camera around your player using the middle mouse button or the right mouse button.

But is there a way to stop the players from being able to do this with one of the buttons, but not both. To make this clear, I do not want to have to make a custom camera, I'm trying to make something that works with the current camera that roblox gives us, I just don't want players to be able to move the camera with their middle mouse button as I am using that for something else.

Is this possible? If so, how?
Report Abuse
HardTyranny is not online. HardTyranny
Joined: 28 Aug 2014
Total Posts: 121
02 Jul 2016 09:50 AM
local camera = workspace.CurrentCamera
camera.CameraType = "Attach"
camera.Subject = game.Players.LocalPlayer.Character.Head


Waffles are good for you.
Report Abuse
IanVIII is not online. IanVIII
Joined: 03 Apr 2016
Total Posts: 535
02 Jul 2016 09:51 AM
Obviously you didn't read the original post, Tyranny.
Report Abuse
HardTyranny is not online. HardTyranny
Joined: 28 Aug 2014
Total Posts: 121
02 Jul 2016 09:52 AM
Sorry. :P
I don't believe there is a way to do so.


Waffles are good for you.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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