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: Camera limit

Previous Thread :: Next Thread 
Wujus is not online. Wujus
Joined: 02 Sep 2008
Total Posts: 117
29 Aug 2015 08:27 AM
Is there a way to limit maximum Up/Down movement for the camera? I don't want the player to be able to look straight up and straight down.
Report Abuse
morashsPeasant is not online. morashsPeasant
Joined: 06 Jan 2011
Total Posts: 4944
29 Aug 2015 08:31 AM
There are properties under starter player
Report Abuse
Wujus is not online. Wujus
Joined: 02 Sep 2008
Total Posts: 117
29 Aug 2015 08:37 AM
Yes but I can change there only max and min zoom of the camera. I want to set max and min camera elevation. Like Up and down.
Report Abuse
morashsPeasant is not online. morashsPeasant
Joined: 06 Jan 2011
Total Posts: 4944
29 Aug 2015 08:38 AM
Lol what?? What's a camera elevation??
If that didn't help you probably should make a custom camera
Report Abuse
Wujus is not online. Wujus
Joined: 02 Sep 2008
Total Posts: 117
29 Aug 2015 08:45 AM
Sorry for my bad english, I meant something like camera tilt (camera:TiltUnits). I know I need to make a custom camera... I'm asking how to make it lol. I need something like Camera:GetCurrentTilt() but from camera.CFrame. When you look up and down.
Report Abuse
Wujus is not online. Wujus
Joined: 02 Sep 2008
Total Posts: 117
29 Aug 2015 09:13 AM
Bump
Report Abuse
Wujus is not online. Wujus
Joined: 02 Sep 2008
Total Posts: 117
29 Aug 2015 11:11 AM
Bump
Report Abuse
Wujus is not online. Wujus
Joined: 02 Sep 2008
Total Posts: 117
30 Aug 2015 07:49 AM
Bump
Report Abuse
AndriusKapitanovas is not online. AndriusKapitanovas
Joined: 26 Jan 2013
Total Posts: 474
30 Aug 2015 08:37 AM
sry, but all I can suggest is scripting ur own :/
Report Abuse
Wujus is not online. Wujus
Joined: 02 Sep 2008
Total Posts: 117
08 Oct 2015 05:54 AM
Bump?
Report Abuse
NovusTheory is not online. NovusTheory
Joined: 14 Oct 2009
Total Posts: 4532
08 Oct 2015 08:30 AM
StarterPlayerScripts should have 2 scripts and one to control the camera; if not just copy paste from Play Solo. Edit the MAX_ANGLE in the RootCamera script or CameraScript. Unsure which one
Report Abuse
Wujus is not online. Wujus
Joined: 02 Sep 2008
Total Posts: 117
08 Oct 2015 10:12 AM
I can't really access it or copy it from solo to studio?
Report Abuse
NovusTheory is not online. NovusTheory
Joined: 14 Oct 2009
Total Posts: 4532
08 Oct 2015 10:16 AM
Yes you can
Report Abuse
Wujus is not online. Wujus
Joined: 02 Sep 2008
Total Posts: 117
08 Oct 2015 10:19 AM
Yeah you're right. My fault. But anyway I can't find the MAX_ANGLE in the scripts...
Report Abuse
NovusTheory is not online. NovusTheory
Joined: 14 Oct 2009
Total Posts: 4532
08 Oct 2015 10:20 AM
Idk it's somewhere in one of the camera scripts.

The angle value is 80 or -80
Report Abuse
Wujus is not online. Wujus
Joined: 02 Sep 2008
Total Posts: 117
08 Oct 2015 10:33 AM
Ok, I found it. Now I need to rewrite it becouse I'm using custom camera :/
Report Abuse
Wujus is not online. Wujus
Joined: 02 Sep 2008
Total Posts: 117
08 Oct 2015 10:40 AM
Isn't there a way to control camera rotation by using CFrames? I just need to get camera rotation on one axis (x or z I think) :(
Report Abuse
NovusTheory is not online. NovusTheory
Joined: 14 Oct 2009
Total Posts: 4532
08 Oct 2015 10:44 AM
Likewise yes, Take a look at the attached camera module

It might help you edit your own one :)
Report Abuse
NovusTheory is not online. NovusTheory
Joined: 14 Oct 2009
Total Posts: 4532
08 Oct 2015 10:45 AM
But also Camera.CoordinateFrame exists
Report Abuse
Wujus is not online. Wujus
Joined: 02 Sep 2008
Total Posts: 117
08 Oct 2015 10:54 AM
Could you please explain how can I get/set rotation in Rotation Matrix for ex. on Z axis?
Report Abuse
NovusTheory is not online. NovusTheory
Joined: 14 Oct 2009
Total Posts: 4532
08 Oct 2015 10:57 AM
:/ I can't exactly tell you how as I am still really confused about rotation matrix. I'm going to hand this off to someone who may know how
Report Abuse
Wujus is not online. Wujus
Joined: 02 Sep 2008
Total Posts: 117
08 Oct 2015 11:00 AM
Ok, thank 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