|
| 21 Aug 2014 03:50 PM |
My function for viewing a person:
function watch(player) if (player ~= nil) then local cam = game.Workspace.CurrentCamera cam.CameraSubject = player.Character.Humanoid cam.CameraType = Enum.CameraType.Custom cam.FieldOfView = 70 script.Parent.Spectator.Controls.Nametag.Text = player.Name end end
Thing is, you can't rotate around the person or zoom in and out. How does people do this? |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2014 04:02 PM |
Is there seriously NOBODY who knows this basic fundamental stuff?! Everyone has it, share if u care! |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2014 04:53 PM |
| I cannot see any overwhelming errors, possibly set the Camera Mode to Custom before setting the CameraSubject. Thats the only thing I can think of? |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2014 05:55 PM |
Thanks, but it didn't work either.. Do I have to do some "release" mousebutton hack or something incase they die with mousebutton down? |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2014 06:02 PM |
| I would say different camera types but ehh who knows. There is like 6 I think they all do something different. |
|
|
| Report Abuse |
|
|
|
| 21 Aug 2014 06:04 PM |
| Well, I forgot to say if you zoom in while in one of those changed cameras... Your screwed. (stuck) |
|
|
| Report Abuse |
|
|
|
| 22 Aug 2014 05:40 PM |
Its wierd because I tried a localscript in a hopperbin that only changed the camera subject and it worked. But when I use mine in a screengui it gets stuck and cant rotate nor zoom (altho it does change subject).. :/ |
|
|
| Report Abuse |
|
|
|
| 24 Aug 2014 04:42 PM |
AH! I think Ik what the issue is. I don't have a character! When in spectate your character is nil.. |
|
|
| Report Abuse |
|
|
| |
|
lillil
|
  |
| Joined: 02 Aug 2006 |
| Total Posts: 2168 |
|
|
| 24 Aug 2014 04:49 PM |
| It might just be you. My spectating gui works fine. |
|
|
| Report Abuse |
|
|
| |
|
|
| 25 Aug 2014 09:47 AM |
| Aw comeon guys, one would not think the camera was dependent on having a character |
|
|
| Report Abuse |
|
|