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 to change camera position so

Previous Thread :: Next Thread 
ReverseUniverse is not online. ReverseUniverse
Joined: 23 Jan 2015
Total Posts: 1118
19 Feb 2015 05:54 PM
Camera is facing the side of character?

local target = game.Players.LocalPlayer.Character.Torso
local camera = workspace.CurrentCamera
camera.CameraType = Enum.CameraType.Scriptable
camera.CameraSubject = target


camera.CameraType = "Attach"
camera.CoordinateFrame=CFrame.new(0,0,0)
Report Abuse
ReverseUniverse is not online. ReverseUniverse
Joined: 23 Jan 2015
Total Posts: 1118
19 Feb 2015 05:56 PM
bump-2
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
19 Feb 2015 05:58 PM
which side? c:
Report Abuse
ReverseUniverse is not online. ReverseUniverse
Joined: 23 Jan 2015
Total Posts: 1118
19 Feb 2015 05:59 PM
Right side of arm.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
19 Feb 2015 06:02 PM
So facing the character from the right side of arm like this?
camera.CoordinateFrame = CFrame.new(rightarm.Position, torso.Position);

If you want to move it more to the right, just multiply it by CFrame.new(amnt, 0, 0)
Report Abuse
ReverseUniverse is not online. ReverseUniverse
Joined: 23 Jan 2015
Total Posts: 1118
19 Feb 2015 06:05 PM
How would i put it in?
Report Abuse
ReverseUniverse is not online. ReverseUniverse
Joined: 23 Jan 2015
Total Posts: 1118
19 Feb 2015 06:11 PM
bump - 2
Report Abuse
ReverseUniverse is not online. ReverseUniverse
Joined: 23 Jan 2015
Total Posts: 1118
19 Feb 2015 06:12 PM
bump - 3
Report Abuse
ReverseUniverse is not online. ReverseUniverse
Joined: 23 Jan 2015
Total Posts: 1118
19 Feb 2015 06:14 PM
Is there any way to do it from the torso?
Report Abuse
bluemantrolls101 is not online. bluemantrolls101
Joined: 31 Oct 2013
Total Posts: 322
19 Feb 2015 06:33 PM
local target = game.Players.LocalPlayer.Character.Torso
local camera = workspace.CurrentCamera
camera.CameraType = Enum.CameraType.Scriptable
camera.CameraSubject = target
camera.CoordinateFrame = CFrame.new(rightarm.Position, torso.Position)

camera.CameraType = "Attach"
camera.CoordinateFrame=CFrame.new(amnt, 0, 0)
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