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 » Scripters
Home Search
 

Re: why doesnt this work?

Previous Thread :: Next Thread 
vastqud is not online. vastqud
Joined: 10 Sep 2011
Total Posts: 2464
06 Mar 2016 10:58 AM



while true do
local cam = workspace.CurrentCamera

cam.CFrame = cam.CFrame * CFrame.Angles(math.rad(1),math.rad(0),math.rad(0))
wait(1)
end


yes, its in a localscript

no errors in the output
Report Abuse
Deafgift100 is not online. Deafgift100
Joined: 09 May 2010
Total Posts: 3958
06 Mar 2016 10:59 AM
maybe it does work.
you're waiting 1 second for every degree you turn. bit slow?
Report Abuse
vastqud is not online. vastqud
Joined: 10 Sep 2011
Total Posts: 2464
06 Mar 2016 11:00 AM
bythe way, if I use cam.CoordinateFrame is still doesn't work
Report Abuse
vastqud is not online. vastqud
Joined: 10 Sep 2011
Total Posts: 2464
06 Mar 2016 11:01 AM
no, it doesn't work, I sat there for about 10 seconds to se if it does, and it doesnt
Report Abuse
vastqud is not online. vastqud
Joined: 10 Sep 2011
Total Posts: 2464
06 Mar 2016 11:04 AM
bump
Report Abuse
vastqud is not online. vastqud
Joined: 10 Sep 2011
Total Posts: 2464
06 Mar 2016 11:08 AM
did roblox update the camera?


coz this worked about 2 weeks ago...
Report Abuse
vastqud is not online. vastqud
Joined: 10 Sep 2011
Total Posts: 2464
06 Mar 2016 11:13 AM
bump
Report Abuse
LTB4 is not online. LTB4
Joined: 05 Mar 2016
Total Posts: 298
06 Mar 2016 11:18 AM
change the camera type to scriptable


-LTB4
Report Abuse
vastqud is not online. vastqud
Joined: 10 Sep 2011
Total Posts: 2464
06 Mar 2016 11:22 AM
well it works, but can I set the camera subject while in scriptable mode? because I'm using this script for gun recoil, and if I cant have the camera at the player it'll be bad...
Report Abuse
LTB4 is not online. LTB4
Joined: 05 Mar 2016
Total Posts: 298
06 Mar 2016 11:30 AM
I think you can


-LTB4
Report Abuse
vastqud is not online. vastqud
Joined: 10 Sep 2011
Total Posts: 2464
06 Mar 2016 11:40 AM
but this doesn't work:

while true do
local cam = workspace.CurrentCamera
cam.CameraType = "Scriptable"
cam.CameraSubject = game.Players.LocalPlayer.Character.Humanoid
cam.CFrame = cam.CFrame * CFrame.Angles(math.rad(1),math.rad(0),math.rad(0))
wait(1)
end


I tried setting it to things other than the humanoid, like the torso and even just a random part in my place, but it doesn't work


this is bad
Report Abuse
vastqud is not online. vastqud
Joined: 10 Sep 2011
Total Posts: 2464
06 Mar 2016 11:46 AM
bump
Report Abuse
LTB4 is not online. LTB4
Joined: 05 Mar 2016
Total Posts: 298
06 Mar 2016 11:49 AM
Why not set the CFrame to the torso with some offset, to simulate a camera subject, then do w/e.


-LTB4
Report Abuse
vastqud is not online. vastqud
Joined: 10 Sep 2011
Total Posts: 2464
06 Mar 2016 11:52 AM
what I'm saying is that NOTHING works


I cant set the camerasubject to anything
Report Abuse
LTB4 is not online. LTB4
Joined: 05 Mar 2016
Total Posts: 298
06 Mar 2016 11:54 AM
I just told you to simulate it, learn to read.


-LTB4
Report Abuse
vastqud is not online. vastqud
Joined: 10 Sep 2011
Total Posts: 2464
06 Mar 2016 11:56 AM
woah woah woah

no need to get all

hostile

up on me
Report Abuse
LTB4 is not online. LTB4
Joined: 05 Mar 2016
Total Posts: 298
06 Mar 2016 11:57 AM
You started screaming through capital letters because you couldn't read, you started it lol.


-LTB4
Report Abuse
vastqud is not online. vastqud
Joined: 10 Sep 2011
Total Posts: 2464
06 Mar 2016 11:59 AM
I used capitals to put emphasis on the word nothing



I didn't read your reply correctly, my mistake
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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