dirk29
|
  |
| Joined: 26 May 2010 |
| Total Posts: 1142 |
|
|
| 04 Apr 2012 04:11 PM |
Sometimes i hate camera manipulation.
local continue = true
local Cam = coroutine.create(function(Frame, Type, Focus, Sub) local C = Workspace.CurrentCamera continue = true while continue do C.CameraSubject = Sub C.CoordinateFrame = CFrame.new(Frame) C.CameraType = Type C.Focus = Focus wait() end end)
coroutine.resume(Cam, Workspace.Cameras.Camera1.Position, "Follow", Workspace.Cameras.Camera1Look,game.Workspace.Cameras.Camera1)
It works. The screen is white though. |
|
|
| Report Abuse |
|
|
|
| 04 Apr 2012 04:17 PM |
| Explain 'screen is white.' |
|
|
| Report Abuse |
|
|
dirk29
|
  |
| Joined: 26 May 2010 |
| Total Posts: 1142 |
|
| |
|
dirk29
|
  |
| Joined: 26 May 2010 |
| Total Posts: 1142 |
|
|
| 04 Apr 2012 04:18 PM |
| How much simpler can i make it, "The screen is white". Very simple, it's all white. |
|
|
| Report Abuse |
|
|
|
| 04 Apr 2012 04:19 PM |
| How do you know it works if the screen is white? |
|
|
| Report Abuse |
|
|
dirk29
|
  |
| Joined: 26 May 2010 |
| Total Posts: 1142 |
|
|
| 04 Apr 2012 04:21 PM |
| Because that means it moved the players camera. It's with the positioning. I know that. I had that problem 2 months ago. I forgot how i fixed it. |
|
|
| Report Abuse |
|
|
|
| 04 Apr 2012 04:22 PM |
| Screen cap it and post it to Imgur or something similar. |
|
|
| Report Abuse |
|
|
Quenty
|
  |
| Joined: 03 Sep 2009 |
| Total Posts: 9316 |
|
|
| 04 Apr 2012 04:24 PM |
That means that your camera has moved into an area that is nil. I.E. ROBLOX has stopped rendering and doing calculations at that point, due to Double-precision floating being off.... if you're trying to move the players camera so the focus and coordinate frame are the same, you will also get a white screen.
Don't panic... Just fix the positions.
|
|
|
| Report Abuse |
|
|
dirk29
|
  |
| Joined: 26 May 2010 |
| Total Posts: 1142 |
|
|
| 04 Apr 2012 04:25 PM |
| @Quenty- If i remove 1 of them, it doesn't work. Can you fix it for me? |
|
|
| Report Abuse |
|
|
dirk29
|
  |
| Joined: 26 May 2010 |
| Total Posts: 1142 |
|
|
| 04 Apr 2012 04:35 PM |
| I fixed the white screen. What 'CameraType' do i change the camera to, to make it unmovable? |
|
|
| Report Abuse |
|
|
Quenty
|
  |
| Joined: 03 Sep 2009 |
| Total Posts: 9316 |
|
|
| 04 Apr 2012 04:40 PM |
Modifies how the camera works...
You may want to use
Spawn(function()
end)
instead of coroutines - just my opinion. |
|
|
| Report Abuse |
|
|
|
| 04 Apr 2012 04:41 PM |
If I remember once crazyman32 told me the focus has to be less than something. Im not sure, Something along those lines. |
|
|
| Report Abuse |
|
|