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 questions...

Previous Thread :: Next Thread 
togov is not online. togov
Joined: 21 Apr 2010
Total Posts: 3740
28 Nov 2013 09:11 AM
Is there a way where i can focus the camera on a spefic player ?
I don't want this type code

game.Workspace.CurrentCamera
Report Abuse
GGGGG14 is not online. GGGGG14
Joined: 29 Jan 2012
Total Posts: 25344
28 Nov 2013 09:28 AM
Define the CameraSubject, and then use one of the following methods to follow the subject: Fixed, Attached, Track, Watch, Follow, Custom, Scriptable…

an example would be:

local target = workspace.Part
local camera = game.Workspace.CurrentCamera

camera.CameraSubject = target

while wait() do
camera.CoordinateFrame = CFrame.new(target.Position)

end
Report Abuse
GGGGG14 is not online. GGGGG14
Joined: 29 Jan 2012
Total Posts: 25344
28 Nov 2013 09:35 AM
Or use a specific Focus CoordinateFrame if your player is in a fixed position.
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