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 |
|
|
|
| 29 Aug 2015 08:31 AM |
| There are properties under starter player |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 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
|
  |
| 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
|
  |
| Joined: 02 Sep 2008 |
| Total Posts: 117 |
|
| |
|
Wujus
|
  |
| Joined: 02 Sep 2008 |
| Total Posts: 117 |
|
| |
|
Wujus
|
  |
| Joined: 02 Sep 2008 |
| Total Posts: 117 |
|
| |
|
|
| 30 Aug 2015 08:37 AM |
| sry, but all I can suggest is scripting ur own :/ |
|
|
| Report Abuse |
|
|
Wujus
|
  |
| Joined: 02 Sep 2008 |
| Total Posts: 117 |
|
| |
|
|
| 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
|
  |
| 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 |
|
|
| |
|
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 |
|
|
|
| 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
|
  |
| 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
|
  |
| 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 |
|
|
|
| 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 |
|
|
|
| 08 Oct 2015 10:45 AM |
| But also Camera.CoordinateFrame exists |
|
|
| Report Abuse |
|
|
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 |
|
|
|
| 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
|
  |
| Joined: 02 Sep 2008 |
| Total Posts: 117 |
|
| |
|