generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Camera problems again

Previous Thread :: Next Thread 
dfringloh1 is not online. dfringloh1
Joined: 02 Dec 2009
Total Posts: 236
25 Nov 2011 08:59 PM
wait(1)
game.Workspace.CurrentCamera.CameraSubject = nil
game.Workspace.CurrentCamera.CoordinateFrame = CFrame.new(6.015, 113.1, -590.8)
game.Workspace.CurrentCamera.Focus = CFrame.new(30, 120, -500)
game.Workspace.CurrentCamera.CameraType = 1
print(game.Workspace.CurrentCamera.CameraSubject)

The problem lies in the camerasubject. Everything works well except that the output keeps printing Humanoid which is the CameraSubject. Does anyone know why the camerasubject did not change to nil even though i wrote game.Workspace.CurrentCamera.CameraSubject = nil ?
Report Abuse
sk8ercool456 is not online. sk8ercool456
Joined: 24 Jan 2008
Total Posts: 1846
25 Nov 2011 09:02 PM
I don't know, it's weird like that...
Report Abuse
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
25 Nov 2011 09:08 PM
Blame ROBLOX, no NOT John, and also, it's probably because even though the camera is nil it still may seek the player's humanoid.
Report Abuse
dfringloh1 is not online. dfringloh1
Joined: 02 Dec 2009
Total Posts: 236
26 Nov 2011 03:30 AM
Bump. Any good scripters out there knows why?
Report Abuse
sk8ercool456 is not online. sk8ercool456
Joined: 24 Jan 2008
Total Posts: 1846
26 Nov 2011 10:15 AM
Try instancing a part, setting the subject on that, then removing the part.
Report Abuse
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
26 Nov 2011 03:01 PM
dr, sk8er and I are good scripters...
Report Abuse
ReactorINC is not online. ReactorINC
Joined: 24 Nov 2011
Total Posts: 84
26 Nov 2011 03:10 PM
CameraSubject cannot be nil
Report Abuse
Vampire32100 is not online. Vampire32100
Joined: 13 Dec 2008
Total Posts: 1058
26 Nov 2011 03:45 PM
@Sk8r you can't remove it or it won't work. Just make it invisible and turn CanCollide to false.
Report Abuse
dfringloh1 is not online. dfringloh1
Joined: 02 Dec 2009
Total Posts: 236
26 Nov 2011 05:32 PM
Crazyman32 did tell me that he set his camera to nil in his game so why is he able to do so but not me?
Report Abuse
flappydavid is not online. flappydavid
Joined: 03 May 2009
Total Posts: 5893
26 Nov 2011 08:48 PM
He said camera... Not CameraSubject.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image