|
| 26 Jun 2013 02:37 PM |
Ive been trying to get the camera to look at a birds eye view for several weeks now and its driving me crazy lol! The problem is when this is ran for some reason when the script goes into birds eye view, my player can't move at all.
I got the birds eye view to work, but the player seems to stop moving. Heres the code:
camera.CameraType = "Scriptable" camera.CoordinateFrame = CFrame.new(x.Position+Vector3.new(0,70,0),x.Position)
Is it because the CameraType is set to Scriptable? When I set it to a different type after this runs, the player can move again, so that may be it. If so, why??? Also, if so, how can I make it so that the player can't move the camera at all and it is still at birds eye view? Please help me! Thanks!
-- cardgamechampion/AlternativeAcc |
|
|
| Report Abuse |
|
|
|
| 26 Jun 2013 02:39 PM |
| Lol I said Camear I meant Camera :P. |
|
|
| Report Abuse |
|
|
jrf2112
|
  |
| Joined: 29 Jun 2008 |
| Total Posts: 3354 |
|
|
| 26 Jun 2013 02:40 PM |
| Try the "Watch" cameratype, then use the Focus property on your head. |
|
|
| Report Abuse |
|
|
|
| 26 Jun 2013 02:41 PM |
| Ok, but will that make sure that the camera won't move. I don't want the camera to move at all while being in the birds eye view. |
|
|
| Report Abuse |
|
|
jrf2112
|
  |
| Joined: 29 Jun 2008 |
| Total Posts: 3354 |
|
|
| 26 Jun 2013 02:43 PM |
| Then use the "Track" cameratype. |
|
|
| Report Abuse |
|
|
jrf2112
|
  |
| Joined: 29 Jun 2008 |
| Total Posts: 3354 |
|
|
| 26 Jun 2013 02:43 PM |
| Wait, no, the watch type doesn't move. |
|
|
| Report Abuse |
|
|
|
| 26 Jun 2013 02:43 PM |
| So change it to watch then make the focus the heads position then change it to track??? |
|
|
| Report Abuse |
|
|
|
| 26 Jun 2013 02:44 PM |
| I DO NOT want the camera to move. |
|
|
| Report Abuse |
|
|
jrf2112
|
  |
| Joined: 29 Jun 2008 |
| Total Posts: 3354 |
|
|
| 26 Jun 2013 02:44 PM |
| Find your type: http://wiki.roblox.com/index.php/CameraType_%28Enum%29 |
|
|
| Report Abuse |
|
|
|
| 26 Jun 2013 02:46 PM |
| I did, Scriptable, where the scripts control the camera. This way the camera won't move. But then my player won't move for some reason unless I change it to a differenrt cameratype. Is the Scriptable cameratype supposd to make your player not be able to move? |
|
|
| Report Abuse |
|
|
jrf2112
|
  |
| Joined: 29 Jun 2008 |
| Total Posts: 3354 |
|
|
| 26 Jun 2013 02:53 PM |
| The scriptable cameratype is for cutscenes and stuff. |
|
|
| Report Abuse |
|
|
|
| 26 Jun 2013 02:58 PM |
| Ohhhhh, so it may make the player freeze? Afterwards when I edit it manually it seems to work, which is weird. It only doesn't work in the script, I changed the CameraType to scriptable and the player can move... Maybe I need to change it to Scriptable after the code defines the CoordinateFrame? |
|
|
| Report Abuse |
|
|
|
| 26 Jun 2013 02:59 PM |
| All the other cameratypes though allow some control of the camera, I want the camera to be stuck at a birds eye view and not be able to move with right clicking no matter what, while the player can still move. |
|
|
| Report Abuse |
|
|
jrf2112
|
  |
| Joined: 29 Jun 2008 |
| Total Posts: 3354 |
|
| |
|
|
| 26 Jun 2013 03:07 PM |
| Ive been trying to find this out for weeks now which is why I came to this forum in the first place. Is there any way to make the camera not be able to move with right clicking without using the Scriptable cameratype? |
|
|
| Report Abuse |
|
|