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 Manipulation~

Previous Thread :: Next Thread 
Infocus is not online. Infocus
Joined: 28 Apr 2011
Total Posts: 8022
30 Nov 2012 09:20 PM
I really dont get it.
My goal is to make it so if a player enters the server (PlayerAdded) their CurrentCamera views game.Workspace.Brick1 and stays like that. Cant look around or move around. Just stuck there.

Im currently new to Lua so excuse me.
Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
30 Nov 2012 09:22 PM
You'll need a LocalScript, and this
http://wiki.roblox.com/index.php/Camera
Report Abuse
Infocus is not online. Infocus
Joined: 28 Apr 2011
Total Posts: 8022
30 Nov 2012 09:24 PM
It did mention that its supposed to be a localscript. So I am aware of that.

LuaLearners didnt mention how to make it look at a specific part.
Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
30 Nov 2012 09:25 PM
Camera.CameraSubject = Workspace.Part
Look through the properties of Camera.
Report Abuse
LUVMARIOLUIGI10000 is not online. LUVMARIOLUIGI10000
Joined: 16 May 2009
Total Posts: 1244
30 Nov 2012 09:27 PM
Local Script > Starterpack

player = game.Players.LocalPlayer
if player then
wait(2)
game.Wokrspace.CurrentCamera.CameraSubject = game.Workspace["Brick1"]
end
Report Abuse
Infocus is not online. Infocus
Joined: 28 Apr 2011
Total Posts: 8022
30 Nov 2012 09:37 PM
game.Players.PlayerAdded:connect(function(player)
script.LocalScript:clone().Parent = player.CharacterAdded:wait()
end)



In Local:


local camera=workspace.CurrentCamera
camera.CameraSubject = Workspace.Part1
camera.CameraType = "Attach"
end

game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid
game.Workspace.CurrentCamera.CameraType = "Custom"



Used some of Wikis script.

Hows this?
Report Abuse
Infocus is not online. Infocus
Joined: 28 Apr 2011
Total Posts: 8022
30 Nov 2012 09:43 PM
Bump of will it work?
Report Abuse
Infocus is not online. Infocus
Joined: 28 Apr 2011
Total Posts: 8022
30 Nov 2012 09:49 PM
buuuuump
Report Abuse
epicducks12345 is not online. epicducks12345
Joined: 18 Jan 2011
Total Posts: 7796
30 Nov 2012 09:50 PM
Bump
Report Abuse
Infocus is not online. Infocus
Joined: 28 Apr 2011
Total Posts: 8022
30 Nov 2012 09:50 PM
thanks?
Report Abuse
Infocus is not online. Infocus
Joined: 28 Apr 2011
Total Posts: 8022
10 Dec 2012 01:27 AM
bump
Report Abuse
IamAwesome777 is not online. IamAwesome777
Joined: 18 Jul 2011
Total Posts: 2640
10 Dec 2012 05:09 AM
Crazyman32 has a great tutorial on camera manipulation in his models.
Report Abuse
Raphael7 is not online. Raphael7
Joined: 03 Dec 2008
Total Posts: 2479
10 Dec 2012 08:18 AM
You've put an end which I think is unecessary.
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