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
 

How could i force a looking direction in first person?

Previous Thread :: Next Thread 
bubbaman73 is not online. bubbaman73
Joined: 02 Feb 2013
Total Posts: 795
03 Oct 2016 09:56 PM
So i have the game first person locked, and im wondering how i could get them o look a specific direction. Would i have to mess around with the torsos CFrame or something?


~Bubba~
Report Abuse
OldGoldie is not online. OldGoldie
Joined: 17 Aug 2010
Total Posts: 8210
03 Oct 2016 10:00 PM
You used to be able to use :Focus() but now I think you have to do something else, I'm not too sure off the top of my head, but I'm pretty sure it has to do with CurrentCamera.CFrame and Focus, maybe this will work

CurrentCamera.CFrame = CFrame.new(workspace.Part.Position,CurrentCamera.Focus)
I highly doubt it but I believe its something like this


Report Abuse
Azodon123 is not online. Azodon123
Joined: 05 Apr 2012
Total Posts: 140
03 Oct 2016 10:05 PM
something like that,


local camera = workspace.CurrentCamera
camera.CameraType = Enum.CameraType.Scriptable
camera.CameraSubject = target

camera.CoordinateFrame = CFrame.new(target)
Report Abuse
bubbaman73 is not online. bubbaman73
Joined: 02 Feb 2013
Total Posts: 795
03 Oct 2016 10:21 PM
Well i dont want it to really MOVE the camera, just change its direction


~Bubba~
Report Abuse
greedyawesomeman is not online. greedyawesomeman
Joined: 18 Apr 2010
Total Posts: 1038
03 Oct 2016 10:41 PM
If you didn't code the camera it's probably easiest to turn the torso with a bodymover so it's fluid.
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