|
| 24 Apr 2015 05:36 AM |
I'm trying to make a game set in space, so I'd like to create the illusion of there being no gravity. To do this, I'm setting the players camera to follow another part, which is rotated using various keys. However, when I try to do a 'backflip' with it, instead of everything being upside- down, the camera just rotates so that the horizon is, uh... horizontal.
Is there any way to prevent the camera from doing this? |
|
|
| Report Abuse |
|
|
|
| 24 Apr 2015 06:02 AM |
| Use a Scriptable camera. They are the only cameras that can rotate upside-down, and they are really neat to work with. |
|
|
| Report Abuse |
|
|
|
| 24 Apr 2015 07:41 AM |
Do I set the currentCameras cameratype to scriptable, or is it a special instance? If the former is the case, I'm already doing that. It still doesn't work. |
|
|
| Report Abuse |
|
|
|
| 24 Apr 2015 07:59 AM |
| Show code or I report Shedletsky for hacking. |
|
|
| Report Abuse |
|
|
|
| 24 Apr 2015 08:17 AM |
You have to set it with a localscript, after the player is created.
game.Workspace.CurrentCamera.CameraType = Enum.CameraType.Scriptable |
|
|
| Report Abuse |
|
|
|
| 24 Apr 2015 09:58 AM |
| Wait for PlayerScripts to come out c; |
|
|
| Report Abuse |
|
|
|
| 25 Apr 2015 01:02 PM |
| What are(will be?) player scripts? |
|
|
| Report Abuse |
|
|
lokkut
|
  |
| Joined: 18 Mar 2009 |
| Total Posts: 1794 |
|
|
| 25 Apr 2015 01:03 PM |
| unless you do :SetRoll(math.rad(180)) you can't have it literally upside down, which is highly annoying, but it's the way it is |
|
|
| Report Abuse |
|
|