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 Problemos

Previous Thread :: Next Thread 
BlizardAlpha is not online. BlizardAlpha
Joined: 23 Aug 2012
Total Posts: 753
24 Feb 2013 07:04 AM
Workspace.TouchPart.Touched:connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then


local cam = game.Workspace.CurrentCamera
cam.CameraType = Enum.CameraType.Scriptable

local camPosition = Vector3.new(Workspace.Camerapos.Position)
local camFocus = Vector3.new(Workspace.Campart1.Position)

cam.CoordinateFrame = CFrame.new(camPosition, camFocus)

end

end)

Basically, it uses the camera position from when it presses the button. :/
Report Abuse
BlizardAlpha is not online. BlizardAlpha
Joined: 23 Aug 2012
Total Posts: 753
24 Feb 2013 07:18 AM
Bump. Is SH on lunch break? c:
Report Abuse
BlizardAlpha is not online. BlizardAlpha
Joined: 23 Aug 2012
Total Posts: 753
24 Feb 2013 07:38 AM
bump
Report Abuse
BlizardAlpha is not online. BlizardAlpha
Joined: 23 Aug 2012
Total Posts: 753
24 Feb 2013 01:54 PM
Please, help!
Report Abuse
cart6157 is not online. cart6157
Joined: 28 Feb 2009
Total Posts: 2194
24 Feb 2013 01:58 PM
Make a local script with the lines with cam,

Workspace.TouchPart.Touched:connect(function(b)
if b.Parent:FindFirstChild("Humanoid") then

local ls = gam.Lighting.LocalScript:Clone()
ls.Parent = b.Parent

end
end)

Put the localscript into game.Lighting.

Ahh, lunch was good.. :3
Report Abuse
BlizardAlpha is not online. BlizardAlpha
Joined: 23 Aug 2012
Total Posts: 753
24 Feb 2013 02:02 PM
That didn't do anything, and, in-fact broke it.
Report Abuse
cart6157 is not online. cart6157
Joined: 28 Feb 2009
Total Posts: 2194
24 Feb 2013 02:05 PM
Then I think it's that typical roblox number problem.

local camFocus = Vector3.new(Workspace["Campart1"].Position)

Other than that, Idk.
Report Abuse
BlizardAlpha is not online. BlizardAlpha
Joined: 23 Aug 2012
Total Posts: 753
24 Feb 2013 02:11 PM
Nope.
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